Skip to content

openfootball/worldcup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

418 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

World Cup

What's football.db?

A free open public domain football database & schema for use in any (programming) language - with (structured) text datasets using the (future-proof and evergreen) Football.TXT format. More football.db Project Site »

Intro

Free open public domain football data for the World Cup (e.g. Canada/USA/Mexico 2026, Qatar 2022, Russia 2018, Brazil 2014, etc.) and the World Cup Quali(fiers). Football.TXT example:

= World Cup 2026      # in Canada, USA, and Mexico 

Group A | Mexico 	  South Africa    South Korea	   UEFA Path D winner
Group B | Canada    UEFA Path A winner  Qatar    Switzerland
Group C | Brazil    Morocco      Haiti   Scotland
Group D | USA       Paraguay     Australia   UEFA Path C winner
Group E | Germany    Curaçao      Ivory Coast   Ecuador
Group F | Netherlands	  Japan        UEFA Path B winner  Tunisia
Group G | Belgium       Egypt        Iran        New Zealand
Group H | Spain        Cape Verde   Saudi Arabia   Uruguay
Group I | France      Senegal   IC Path 2 winner   Norway
Group J | Argentina	   Algeria   Austria   Jordan
Group K | Portugal   IC Path 1 winner   Uzbekistan  Colombia
Group L | England    Croatia     Ghana   Panama	


▪ Group A
Thu June 11 
  13:00 UTC-6  Mexico       v South Africa        @ Mexico City
  20:00 UTC-6  South Korea  v UEFA Path D winner  @ Guadalajara (Zapopan)

...

▪ Match for third place   
Sat Jul 18 
  17:00 UTC-4  L101 v L102    @ Miami (Miami Gardens)

▪ Final
Sun Jul 19 
  15:00 UTC-4  W101 v W102    @ New York/New Jersey (East Rutherford)

or

= World Cup 2022    # in Qatar, November 20 - December 18

Group A  | Qatar      Ecuador        Senegal        Netherlands
Group B  | England    Iran           USA            Wales
Group C  | Argentina  Saudi Arabia   Mexico         Poland
Group D  | France     Australia      Denmark        Tunisia
Group E  | Spain     Costa Rica      Germany        Japan
Group F  | Belgium    Canada   Morocco    Croatia
Group G  | Brazil    Serbia  Switzerland   Cameroon
Group H  | Portugal   Ghana   Uruguay    South Korea

▪ Group A
Sun Nov 20
  19:00      Qatar   v Ecuador  0-2 (0-2)    @ Al Bayt Stadium, Al Khor
               (Enner Valencia 16'(p), 31')
Mon Nov 21
  19:00     Senegal  v Netherlands   0-2 (0-0)   @ Al Thumama Stadium, Doha
               (Cody Gakpo 84', Davy Klaassen 90'+9)

...

▪ Match for third place
Sat Dec 17
  18:00     Croatia  v Morocco    2-1 (2-1)  @ Khalifa International Stadium, Al Rayyan
              (Joško Gvardiol 7', Mislav Oršić 42'; Achraf Dari 9')
▪ Final
Sun Dec 18
  18:00     Argentina  v France   3-3 a.e.t. (2-2, 2-0) 4-2 pen.  @ Lusail Iconic Stadium, Lusail
              (Lionel Messi 23'(p), 108', Ángel Di María 36';
               Kylian Mbappé 80'(p), 81', 118'(p))

Penalty kicks: 0-1 Mbappé,            1-1 Messi, 
                   Coman (stopped),   2-1 Dybala,
                   Tchouaméni (wide), 3-1 Paredes, 
               3-2 Kolo Muani,        4-2 Montiel 

Argentina: E. Martínez, Molina (Montiel 91'), Romero, Otamendi, 
           Tagliafico (Dybala 120+1'), De Paul (Paredes 102'), Fernández, 
           Mac Allister (Pezzella 116'), Messi, Álvarez (La. Martínez 103'), 
           Di María (Acuña 64') 
France: Lloris, Koundé (Disasi 120+1'), Varane (Konaté 113'), Upamecano,
        Th. Hernandez (Camavinga 71'), Dembélé (Kolo Muani 41'), Tchoauméni,
        Griezmann (Coman 71'), Rabiot (Fofana 96'), Mbappé, Giroud (Thuram 41')

or

= World Cup 2018     # in Russia

Group A  |  Russia       Saudi Arabia         Egypt          Uruguay
Group B  |  Portugal     Spain                Morocco        Iran
Group C  |  France       Australia            Peru           Denmark
Group D  |  Argentina    Iceland              Croatia        Nigeria
Group E  |  Brazil       Switzerland          Costa Rica     Serbia
Group F  |  Germany      Mexico               Sweden         South Korea
Group G  |  Belgium      Panama               Tunisia        England
Group H  |  Poland       Senegal              Colombia       Japan


▪ Group A
Thu Jun 14
  18:00 UTC+3   Russia        v Saudi Arabia  5-0 (2-0)     @ Luzhniki Stadium, Moscow
                  (Gazinsky 12' Cheryshev 43', 90+1' Dzyuba 71' Golovin 90+4')
Fri Jun 15
  17:00 UTC+5   Egypt         v Uruguay  0-1 (0-0)          @ Ekaterinburg Arena, Ekaterinburg 
                  (Giménez 89')
...

▪ Match for third place
Sat Jul 14
  17:00 UTC+3   Belgium    v England  2-0 (1-0)        @ Saint Petersburg Stadium, St. Petersburg 
                  (Thomas Meunier 4' Eden Hazard 82')
▪ Final
Sun Jul 15
   18:00 UTC+3   France     v Croatia  4-2 (2-1)       @ Luzhniki Stadium, Moscow 
                  (Mandžukić 18'(og) Griezmann 38'(p) Pogba 59' Mbappé 65';
                   Perišić 28' Mandžukić 69')

or

= World Cup 2014     # in Brazil

Group A  |  Brazil       Croatia              Mexico         Cameroon
Group B  |  Spain        Netherlands          Chile          Australia
Group C  |  Colombia     Greece               Côte d'Ivoire  Japan
Group D  |  Uruguay      Costa Rica           England        Italy
Group E  |  Switzerland  Ecuador              France         Honduras
Group F  |  Argentina    Bosnia-Herzegovina   Iran           Nigeria
Group G  |  Germany      Portugal             Ghana          USA
Group H  |  Belgium      Algeria              Russia         South Korea


▪ Group A
Thu Jun 12
  17:00 UTC-3   Brazil   v Croatia  3-1 (1-1)       @ Arena de São Paulo, São Paulo 
                 (Neymar 29', 71'(p) Oscar 90+1';  Marcelo 11'(og))
Fri Jun 13
  13:00 UTC-3   Mexico   v Cameroon  1-0 (0-0)      @ Estádio das Dunas, Natal 
                 (Peralta 61')

...

▪ Match for third place
Sat Jul 12
  17:00 UTC-3  Brazil   v Netherlands  0-3 (0-2)    @ Estádio Nacional Mané Garrincha, Brasília
                (Robin Van Persie 3'(p) Daley Blind 17' Georginio Wijnaldum 90+1')
▪ Final
Sun Jul 13
  16:00 UTC-3  Germany   v Argentina   1-0 a.e.t. (0-0)   @ Estádio do Maracanã, Rio de Janeiro 
                 (Mario Götze 113')

Germany: Neuer, Lahm, Boateng, Hummels, Höwedes, Kramer (Schürrle 32'),
         Schweinsteiger, Kroos, Th. Müller, Klose (Götze 88'), 
         Özil (Mertesacker 120')
Argentina: Romero, Zabaleta, Demichelis, Garay, Roko, Lavezzi (Agüero 46'), 
           Biglia, Mascherano, E. Pérez (Gago 86'),
           Messi, Higuain (Palacio 78')

Build Your Own worldcup.db Copy

Use the sportdb command line tool to build your own worldcup.db copy from the datasets in (structured) text in the Football.TXT format.

Alternative I - Use the Quick Starter Templates

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

Build the database for all world cups:

$ sportdb new worldcup

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, /world-cup):

$ 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.


NOTE - For an alternative world cup dataset using the Football.TXT format that incl. lineups, subs, sent offs, and more, see openfootball/worldcup.more.

Questions? Comments?

Yes, you can. More than welcome. See Help & Support »

About

Free open public domain football datasets in the Football.TXT format for the World Cup (incl. Canada/USA/Mexico 2026, Qatar 2022, Russia 2018, Brazil 2014, etc.) and World Cup Quali(fiers)

Topics

Resources

License

Stars

Watchers

Forks

Contributors