Hello,
I've added a new (quick) importer for datafiles and packages
in the comma-separated values (csv) format to the sportdb library /
tool family [1].
For example let's import all datafiles for all seasons (from 1888-89 to today)
for England [2]:
require 'sportdb/import'
SportDb.connect( adapter: 'sqlite3',
database: './eng.db' )
## build database schema / tables
SportDb.create_all
## turn on logging to console
ActiveRecord::Base.logger = Logger.new(STDOUT)
pack = CsvMatchImporter.new( './england' )
pack.import_leagues
Happy data wrangling with ruby. Cheers. Prost.
[1] https://github.com/sportdb/sport.db/tree/master/sportdb-import
[2] https://github.com/footballcsv/england