Formula 1 Race Data
Race data from 1950 to present
@kaggle.jtrotman_formula_1_race_data
Race data from 1950 to present
@kaggle.jtrotman_formula_1_race_data
Formula One (also Formula 1 or F1 and officially the FIA Formula One World Championship) is the highest class of single-seat auto racing that is sanctioned by the Fédération Internationale de l'Automobile (FIA). The FIA Formula One World Championship has been one of the premier forms of racing around the world since its inaugural season in 1950.
This dataset contains data from 1950 all the way through the 2024 season, and consists of tables describing constructors, race drivers, lap times, pit stops and more.
The data is downloaded from http://ergast.com/mrd/ and refreshed after each Grand Prix weekend. The data was originally gathered and published to the public domain by Chris Newell.
CREATE TABLE circuits (
"circuitid" BIGINT,
"circuitref" VARCHAR,
"name" VARCHAR,
"location" VARCHAR,
"country" VARCHAR,
"lat" DOUBLE,
"lng" DOUBLE,
"alt" BIGINT,
"url" VARCHAR
);CREATE TABLE constructor_results (
"constructorresultsid" BIGINT,
"raceid" BIGINT,
"constructorid" BIGINT,
"points" DOUBLE,
"status" VARCHAR
);CREATE TABLE constructors (
"constructorid" BIGINT,
"constructorref" VARCHAR,
"name" VARCHAR,
"nationality" VARCHAR,
"url" VARCHAR
);CREATE TABLE constructor_standings (
"constructorstandingsid" BIGINT,
"raceid" BIGINT,
"constructorid" BIGINT,
"points" DOUBLE,
"position" BIGINT,
"positiontext" VARCHAR,
"wins" BIGINT
);CREATE TABLE drivers (
"driverid" BIGINT,
"driverref" VARCHAR,
"number" VARCHAR,
"code" VARCHAR,
"forename" VARCHAR,
"surname" VARCHAR,
"dob" TIMESTAMP,
"nationality" VARCHAR,
"url" VARCHAR
);CREATE TABLE driver_standings (
"driverstandingsid" BIGINT,
"raceid" BIGINT,
"driverid" BIGINT,
"points" DOUBLE,
"position" BIGINT,
"positiontext" VARCHAR,
"wins" BIGINT
);CREATE TABLE lap_times (
"raceid" BIGINT,
"driverid" BIGINT,
"lap" BIGINT,
"position" BIGINT,
"time" VARCHAR,
"milliseconds" BIGINT
);CREATE TABLE pit_stops (
"raceid" BIGINT,
"driverid" BIGINT,
"stop" BIGINT,
"lap" BIGINT,
"time" VARCHAR,
"duration" VARCHAR,
"milliseconds" BIGINT
);CREATE TABLE qualifying (
"qualifyid" BIGINT,
"raceid" BIGINT,
"driverid" BIGINT,
"constructorid" BIGINT,
"number" BIGINT,
"position" BIGINT,
"q1" VARCHAR,
"q2" VARCHAR,
"q3" VARCHAR
);CREATE TABLE races (
"raceid" BIGINT,
"year" BIGINT,
"round" BIGINT,
"circuitid" BIGINT,
"name" VARCHAR,
"date" TIMESTAMP,
"time" VARCHAR,
"url" VARCHAR,
"fp1_date" VARCHAR,
"fp1_time" VARCHAR,
"fp2_date" VARCHAR,
"fp2_time" VARCHAR,
"fp3_date" VARCHAR,
"fp3_time" VARCHAR,
"quali_date" VARCHAR,
"quali_time" VARCHAR,
"sprint_date" VARCHAR,
"sprint_time" VARCHAR
);CREATE TABLE results (
"resultid" BIGINT,
"raceid" BIGINT,
"driverid" BIGINT,
"constructorid" BIGINT,
"number" VARCHAR,
"grid" BIGINT,
"position" VARCHAR,
"positiontext" VARCHAR,
"positionorder" BIGINT,
"points" DOUBLE,
"laps" BIGINT,
"time" VARCHAR,
"milliseconds" VARCHAR,
"fastestlap" VARCHAR,
"rank" VARCHAR,
"fastestlaptime" VARCHAR,
"fastestlapspeed" VARCHAR,
"statusid" BIGINT
);CREATE TABLE seasons (
"year" BIGINT,
"url" VARCHAR
);CREATE TABLE sprint_results (
"resultid" BIGINT,
"raceid" BIGINT,
"driverid" BIGINT,
"constructorid" BIGINT,
"number" BIGINT,
"grid" BIGINT,
"position" VARCHAR,
"positiontext" VARCHAR,
"positionorder" BIGINT,
"points" BIGINT,
"laps" BIGINT,
"time" VARCHAR,
"milliseconds" VARCHAR,
"fastestlap" VARCHAR,
"fastestlaptime" VARCHAR,
"statusid" BIGINT
);CREATE TABLE status (
"statusid" BIGINT,
"status" VARCHAR
);Anyone who has the link will be able to view this.