Formula1.db - Free public domain F1 / Formula One database n models in Ruby

Hello,

I’ve added new tables n models to the sportdb gem to cover racing
events such as the Formula One series. New models include tracks,
races, runs, records, and more. See yesterday’s GP Canada race
results:

############################################################
# Grand Prix Canada 2013 - Round 7 of 19

1 Sebastian Vettel Red Bull 70 1:32:09.143
2 Fernando Alonso Ferrari 70 +14.4 secs
3 Lewis Hamilton Mercedes 70 +15.9 secs
....

or the Formula 1 Calendar 2013:

############################

2013 Calendar/Season

(1) Sun 17 Mar 2013 17:00 / Grand Prix Australia
(2) Sun 24 Mar 2013 16:00 / Grand Prix Malaysia

(3) Sun 14 Apr 2013 15:00 / Grand Prix China
(4) Sun 21 Apr 2013 15:00 / Grand Prix Bahrain

as examples. Build yourself a copy for use in your Ruby scripts.
Example:

jp = Track.find_by_key( 'jp')

jp.title
=> 'Grand Prix Japan (Suzuka Circuit)'

jp.country.title
=> 'Japan'

and so on.

More info @ GitHub - opensport/formula1.db: Free open public domain Formula 1/Formula One database 'n' schema (formula1.db) for use in any (programming) language (e.g. uses plain text fixtures/data sets)

Cheers.

Hi,

On 10 Ιουν 2013, at 23:08 , Gerald B. [email protected] wrote:

1 Sebastian Vettel Red Bull 70 1:32:09.143
(2) Sun 24 Mar 2013 16:00 / Grand Prix Malaysia

jp.country.title
=> ‘Japan’

and so on.

More info @ GitHub - opensport/formula1.db: Free open public domain Formula 1/Formula One database 'n' schema (formula1.db) for use in any (programming) language (e.g. uses plain text fixtures/data sets)

Cheers.

Nice :slight_smile: thanks for that!

Panagiotis (atmosx) Atmatzidis

email: [email protected]
URL: http://www.convalesco.org
GnuPG ID: 0x1A7BFEC5
gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5