Re: sportdb-import gem - New football.db Match Importer for CSV Packages (incl. England, Deutschland, and More)
Gerald Bauer <[email protected]> Mon, 1 Jul 2019 19:27:23 +0200
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <CAAxEZd_3t5Ng6j4+b6SkGLwduWWTFapEk99szeu+bs=mk7kB=g@mail.gmail.com> |
Hello,
Not sure if anyone tried out an import of any football datasets -
just for the record the latest update
now uses / requires a (shared) local copy of football clubs [1].
Use
SportDb::Import.config.clubs_dir = './clubs'
to configure / set the directory holding the clubs datasets / text files.
I've also updated the sample code ( that imports all season for
england's top leagues) in the readme [2].
Enjoy the beautiful game. Happy programming and data wrangling with
ruby. Cheers. Prost.
[1] https://github.com/openfootball/clubs
[2] https://github.com/sportdb/sport.db/tree/master/sportdb-import
Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>