TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/TracingInsights/RaceData/llms.txt
Use this file to discover all available pages before exploring further.
qualifying.csv table contains qualifying session results for each Grand Prix, including times from all three qualifying segments (Q1, Q2, Q3).
Schema
| Field | Type | Description |
|---|---|---|
qualifyId | integer | Unique identifier for each qualifying result |
raceId | integer | Foreign key to races.csv |
driverId | integer | Foreign key to drivers.csv |
constructorId | integer | Foreign key to constructors.csv |
number | integer | Driver’s car number |
position | integer | Final qualifying position (determines grid position) |
q1 | string | Q1 lap time (MM:SS.mmm format) |
q2 | string | Q2 lap time (MM:SS.mmm format) |
q3 | string | Q3 lap time (MM:SS.mmm format) |
Sample Data
| qualifyId | raceId | driverId | constructorId | number | position | q1 | q2 | q3 |
|---|---|---|---|---|---|---|---|---|
| 1 | 18 | 1 | 1 | 22 | 1 | 1:26.572 | 1:25.187 | 1:26.714 |
| 2 | 18 | 9 | 2 | 4 | 2 | 1:26.103 | 1:25.315 | 1:26.869 |
| 3 | 18 | 5 | 1 | 23 | 3 | 1:25.664 | 1:25.452 | 1:27.079 |
| 4 | 18 | 13 | 6 | 2 | 4 | 1:25.994 | 1:25.691 | 1:27.178 |
Relationships
References:
qualifying.raceId→races.raceIdqualifying.driverId→drivers.driverIdqualifying.constructorId→constructors.constructorId
Dataset Statistics
- Total Records: 10,992 qualifying results
- Date Range: Varies by race (most complete from 2003 onwards)
- Drivers per Session: ~20
Qualifying Format
The current three-segment knockout qualifying format:- Q1 (18 minutes): All drivers participate. Slowest 5 are eliminated (positions 16-20).
- Q2 (15 minutes): Remaining 15 drivers compete. Slowest 5 are eliminated (positions 11-15).
- Q3 (12 minutes): Top 10 drivers compete for pole position.
Example Queries
Get pole positions for a driver
Find Q1 eliminations
Analyze qualifying progression
Compare qualifying times
Calculate qualifying gaps
Join with race and driver data
Notes
- Times are in
MM:SS.mmmformat (minutes:seconds.milliseconds) \Nindicates the driver didn’t participate in that qualifying segment- The three-segment knockout format was introduced in 2006
- Earlier qualifying formats may not have Q1/Q2/Q3 data
- Grid penalties applied after qualifying are not reflected in these results
- Weather conditions can significantly affect qualifying times
- Some races may have used different qualifying formats (e.g., sprint qualifying)
