Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 2.04 KB

README.md

File metadata and controls

85 lines (56 loc) · 2.04 KB

Major League Soccer (MLS) / United States n Canada

What's soccer.db?

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

Intro

Free open public domain soccer data for major league soccer (MLS) for the United States n Canada.

Example:

galaxy, Los Angeles Galaxy|LA Galaxy, LA, city:losangeles, us
seattle, Seattle Sounders|Seattle Sounders FC, SEA, city:seattle, us
houston, Houston Dynamo|H. Dynamo, HOU, city:houston, us
saltlake, Real Salt Lake, RSL, city:saltlakecity, us

or

Matchday 1

[Sat Mar 8]
Seattle Sounders FC    1-0   Sporting Kansas City

[Sun Mar 9]
D.C. United            0-3   Columbus Crew
Vancouver Whitecaps    4-1   New York Red Bulls
FC Dallas              3-2   Montreal Impact
Houston Dynamo         4-0   New England Revolution
Portland Timbers       1-1   Philadelphia Union
Los Angeles Galaxy     0-1   Real Salt Lake City
CD Chivas USA          3-2   Chicago Fire

Build Your Own soccer.db Copy

Use the sportdb command line tool to build your own soccer.db copy from the plain text fixtures. More »

Prerequisites:

git clone https://github.com/openmundi/world.db.git
gem install sportdb

Example:

To create a database from scratch, use the following command, substituting the appropriate paths to major-league-soccer and world.db as necessary.

sportdb -n mls.db setup --include major-league-soccer --worldinclude world.db

Once you have an initialized database, you can load data on top of it as follows.

sportdb -n mls.db load major-league-soccer/2014/mls

See the sportdb help and git page for more information.

Questions? Comments?

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