• Stars
    star
    405
  • Rank 106,656 (Top 3 %)
  • Language
  • License
    Creative Commons ...
  • Created over 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Free open public domain football data for England (and Wales) incl. English Premier League (EPL) etc.

England (and Wales) - English Premier League

What's football.db?

A free open public domain football database & schema for use in any (programming) language (e.g. uses datasets in plain text). More football.db Project Site »

Intro

Free open public domain football data for England (and Wales). National football club leagues include:

Level
I English Premier League 20 Clubs
II English Championship 24 Clubs
III English League One 24 Clubs
IV English League Two 24 Clubs

Notes:

  • Starting with the 2004/05 season the Football League's Division 1, Division 2 and Division 3 changed to Championship, League One and League Two.

Example:

= English Premier League

Matchday 1

[Sat Aug/16]
  Manchester United    1-2  Swansea City
  Leicester City       2-2  Everton FC
  Queens Park Rangers  0-1  Hull City
  Stoke City           0-1  Aston Villa
  West Bromwich Albion 2-2  Sunderland AFC
  West Ham United      0-1  Tottenham Hotspur
  Arsenal FC           2-1  Crystal Palace
[Sun Aug/17]
  Liverpool FC         2-1  Southampton FC
  Newcastle United     0-2  Manchester City
[Mon Aug/18]
  Burnley FC           1-3  Chelsea FC

...
= Arsenal

 1  Wojciech Szczęsny (POL)      GK  2007-
13  David Ospina (COL)           GK  2014-
26  Damián Martinez (ARG)        GK  2010-

 2  Mathieu Debuchy (FRA)        DF  2014-
 3  Kieran Gibbs                 DF  2007-
 4 (vc) Per Mertesacker (GER)    DF  2011-
 6  Laurent Koscielny (FRA)      DF  2010-
18  Nacho Monreal (ESP)          DF  2013-
21  Calum Chambers               DF  2014-

 7  Tomáš Rosický (CZE)          MF  2006-
 8 (c) Mikel Arteta (ESP)        MF  2011-
10  Jack Wilshere                MF  2008-
11  Mesut Özil (GER)             MF  2013-
15  Alex Oxlade-Chamberlain      MF  2011-
16  Aaron Ramsey (WAL)           MF  2008-
19  Santi Cazorla (ESP)          MF  2012-
20  Mathieu Flamini (FRA)        MF  2013-
24  Abou Diaby (FRA)             MF  2006-
34  Francis Coquelin (FRA)       MF  2008-
35  Gedion Zelalem (GER)         MF  2013-

 9  Lukas Podolski (GER)         FW   2012-
12  Olivier Giroud (FRA)         FW   2012-
14  Theo Walcott                 FW   2006-
17  Alexis Sánchez (CHI)         FW   2014-
22  Yaya Sanogo (FRA)            FW   2013-
23  Danny Welbeck                FW   2014-
27  Serge Gnabry (GER)           FW   2012-
28  Joel Campbell (CRC)          FW   2011-

Build Your Own england.db Copy

Use the sportdb command line tool to build your own england.db copy from the datasets in plain text.

Note: The English Premier League includes teams from Wales (e.g. Swansea City or Cardiff City).

Alternative I - Use the Quick Starter Templates

Use the quick starter datafile templates to start from scratch. Examples:

Build the database for all English (incl. Welsh) clubs, leagues and seasons:

$ sportdb new eng

Build the database for the 2020/21 season:

$ sportdb new eng2020-21

More »

Alternative II - Do-It-Yourself (DIY) - Downlad and Unpack Zip Archive or Git Clone

Download and unpack the zip archive with the datasets or if you have git installed use the git clone command to get a local copy.

Try in your working folder (that is, /england):

$ sportdb build
$ sportdb --verbose build     # or for more (verbose) details incl. debug info

This will

  • setup a new single-file SQLite database e.g. ./sport.db and
  • read in all datasets in plain text (.txt)

That's it.

Alternative III - Read / Load Match files with football-to-sqlite / football-to-psql

Run the football-to-sqlite tool against match files in the Football.TXT format like so:

$ football-to-sqlite england.db 2020-21/1-premierleague.txt

or pass in more than one match file (e.g. different leagues or more seasons):

$ football-to-sqlite england.db 2020-21/1-premierleague.txt \
                                2020-21/2-championship.txt  \
                                2020-21/3-league1.txt       \
                                2020-21/4-league2.txt       \
                                2020-21/5-nationalleague.txt

# -or-

$ football-to-sqlite premier.db 2020-21/1-premierleague.txt  \
                                2019-20/1-premierleague.txt  \
                                2018-19/1-premierleague.txt  \
                                2017-18/1-premierleague.txt  \
                                2016-17/1-premierleague.txt

Note: If the single-file SQLite database (and its tables, views & indices) do not (yet) exist, they get auto-created on the first run.

More »

License

The football.db schema, data and scripts are dedicated to the public domain. Use it as you please with no restrictions whatsoever.

Questions? Comments?

Send them along to the Open Sports & Friends Forum/Mailing List. Thanks!

More Repositories

1

football.json

Free open public domain football data in JSON incl. English Premier League, Bundesliga, Primera División, Serie A and more - No API key required ;-)
726
star
2

worldcup

Free open public domain football data for the World Cup (incl. Qatar 2022, Russia 2018, Brazil 2014, etc.) and World Cup Quali(fiers)
544
star
3

awesome-football

A collection of awesome football (national teams, clubs, match schedules, players, stadiums, etc.) datasets
197
star
4

worldcup.json

Free open public domain football data for the world cups in JSON incl. Qatar 2022, Russia 2018 and more - No API key required ;-)
176
star
5

openfootball.github.io

Open Football Data (football.db) Website
HTML
144
star
6

south-america

Free open public domain football data (football.db) for South America (incl. Brazil • Brasil, Argentina, and much more)
76
star
7

quick-starter

football.db quick starter datafile templates for worldcup.db, euro.db, england.db, etc. - build your own football.db with the sportdb command line tool
Ruby
75
star
8

espana

Free open public domain football data (football.db) for España (Spain) / Europe - Primera División / La Liga, etc.
68
star
9

deutschland

Free open public domain football data for Germany (Deutschland) incl. Deutsche Bundesliga, 2. Bundesliga, 3. Liga, DFB Pokal etc.
67
star
10

euro

Free open public domain football data (euro.db) for Euro 2008, Euro 2012, Euro 2016, Euro 2020 (2021), Euro 2024, etc.
50
star
11

clubs

Free open public domain football data for the world's football clubs (& stadiums) - home of the clubs.db download / release
50
star
12

schema.sql

football.db database schema (tables, views, etc.) scripts (in SQL) and documentation
48
star
13

leagues

Free open public domain football datasets for national & international football club leagues & cups from around the world - home of the leagues.db download/release
39
star
14

italy

Free open public domain football data (football.db) for Italy / Europe - Serie A etc.
37
star
15

europe-champions-league

Free open public domain football data for Champions League (incl. Qualifiers), Europa League / Europe
36
star
16

sandbox

sandbox - misc (open) football data & scripts
29
star
17

players

Free open public domain football data (football.db) for players (goalkeepers, defenders, midfielders, forwards) - home of the players.db download / release
26
star
18

docs

football.db documentation incl. notes, articles, tips, guides, etc.
Shell
19
star
19

europe

Free open public domain football data for Europe (incl. France, Netherlands, Belgium, Russia, Ukraine, and much more)
15
star
20

austria

Free open public domain football data for Austria (Österreich) incl. Österr. Bundesliga, Zweite Liga, Regionalliga (Ost, Mitte, West), ÖFB Cup, etc.
15
star
21

league-starter

football.db league quick starter sample - start your own leagues & cups
14
star
22

euro.json

Free open public domain football data for the European Football Championship ("Euro") in JSON incl. Euro 2024 and more - No API key required ;-)
14
star
23

national-teams

Free open public domain football data (football.db) for the world's national teams
12
star
24

schema

football.db database schema docu
HTML
7
star
25

copa-america

Free open public domain football data (football.db) for national teams in South America (e.g. Copa América)
7
star
26

help

help & support incl. frequently asked questions (FAQs) and answers - let's keep all support question in one issue tracker, thanks
5
star
27

africa-cup

Free open public domain football data (football.db) for Africa / Cup of Nations 2013, Cup of Nations 2015, etc.
5
star
28

world

Free open public domain football data incl. major leagues from North America, Asia, Australia and much more
4
star
29

women-world-cup

Free open public domain football data for the Women's World Cup (incl. Canada 2015, etc.)
4
star
30

copa-america.json

Free open public domain football data for the Copa América in JSON incl. Copa América 2024 and more - No API key required ;-)
4
star
31

copa-libertadores

Free open public domain football data (football.db) for Copa Libertadores & Sudamericana (South America)
4
star
32

mexico

Free open public domain football data (football.db) for Mexico / North America
3
star
33

club-world-cup

Free open public domain football data (football.db) for the Club World Cup (Japan 2012, Morocco 2013, Morocco 2014, etc.)
3
star
34

confed-cup

Free open public domain football data (football.db) for the Confederations Cup (Brazil 2013, Russia 2017, etc.)
2
star
35

futbol-es

Free open public domain football.db addon - teams, leagues, etc. names in Spanish/Español (es)
2
star
36

world2

world (top) leagues & cups - free open public domain football datasets in the Football.TXT format
2
star
37

fussball-de

Free open public domain football.db addon - teams, leagues, etc. names in German/Deutsch (de)
2
star
38

north-america-gold-cup

Free open public domain football data (football.db) for national teams in North America, Central America & Caribbean Islands (e.g. Gold Cup / Copa de Oro)
2
star
39

north-america-champions-league

Free open public domain football data (football.db) for Champions League (North America, Central America & Caribbean)
2
star
40

spec

Football.TXT Format Spec (& Tests)
2
star
41

opendata-theme

CSS
1
star
42

women-euro-cup

Free open public domain football data (football.db) for Women's Euro (incl. The Netherlands 2017, etc.)
1
star