footballdata gem - download & import 22+ top football leagues from Joseph Buchdahl's Football Data

Hello,

  I've put together a new sportdb-source-footballdata gem / library [1]
  that lets you download & import 22+ top football leagues
  from 25 seasons back to 1993/94 from Joseph Buchdahl's Football Data
website (updated twice a week).

   Leagues include the English Premier League, the German Bundesliga,
the Spanish Primera Division (La Liga), the Brazilian Série A, the
Japanese J1 League, and many more.

    Downloading all 570+ datafiles (in comma-separated values format)
is as easy as:

require 'sportdb/source/footballdata'

Footballdata.download

    And importing the datafiles into your SQL database of choice
(using the sport.db schema) as easy as:

SportDb.connect( adapter:  'sqlite3',
                 database: './football.db' )

## build database schema / tables
SportDb.create_all

Footballdata.import

   Happy data wrangling with ruby. Enjoy the beautiful game. Cheers. Prost.

[1] https://github.com/yorobot/football.csv/tree/master/sportdb-source-footballdata