tobil commited on
Commit
c33b7c4
·
verified ·
1 Parent(s): bfa0cbd

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +127 -3
README.md CHANGED
@@ -3,7 +3,131 @@ license: mit
3
  tags:
4
  - racing
5
  - imsa
6
- - sport
7
- - car
8
  - motorsport
9
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  tags:
4
  - racing
5
  - imsa
 
 
6
  - motorsport
7
+ - lap-times
8
+ - weather
9
+ - automotive
10
+ configs:
11
+ - config_name: default
12
+ data_files: "imsa.duckdb"
13
+ - config_name: drivers
14
+ data_files: "drivers.csv"
15
+ - config_name: laps
16
+ data_files: "laps.csv"
17
+ ---
18
+
19
+ # IMSA WeatherTech Championship Racing Dataset
20
+
21
+ This dataset contains comprehensive lap-by-lap data from the IMSA WeatherTech SportsCar Championship, including detailed timing information, driver data, and weather conditions for each lap.
22
+
23
+ ## Dataset Details
24
+
25
+ ### Dataset Description
26
+
27
+ The IMSA Racing Dataset provides detailed lap-by-lap telemetry and contextual data from the IMSA WeatherTech SportsCar Championship races from 2021-2025. The primary table contains individual lap records with integrated driver information and weather conditions, making it ideal for motorsport performance analysis, weather impact studies, and racing strategy research.
28
+
29
+ - **Curated by:** IMSA Data Scraper Project
30
+ - **Language(s):** English (driver names, team names, location names)
31
+ - **License:** MIT
32
+
33
+ ### Dataset Sources
34
+
35
+ - **Repository:** [IMSA Data Scraper](https://github.com/tobi/imsa_data)
36
+ - **Data Source:** Official IMSA WeatherTech Championship results website ( https://imsa.results.alkamelcloud.com/Results/ )
37
+
38
+ This currently only includes IMSA WeatherTech Challange, and not the other IMSA events
39
+
40
+ ## Uses
41
+
42
+ ### Direct Use
43
+
44
+ This dataset is suitable for:
45
+ - **Motorsport Performance Analysis**: Analyze lap times, driver performance, and team strategies
46
+ - **Weather Impact Studies**: Examine how weather conditions affect racing performance
47
+ - **Machine Learning**: Predict lap times, race outcomes, or optimal strategies
48
+ - **Sports Analytics**: Compare driver and team performance across different conditions
49
+ - **Educational Research**: Study motorsport data science and racing dynamics
50
+
51
+ ### Out-of-Scope Use
52
+
53
+ - Personal identification of drivers beyond publicly available racing information
54
+ - Commercial use without proper attribution to IMSA and data sources
55
+ - Analysis requiring real-time or live timing data
56
+
57
+ ## Dataset Structure
58
+
59
+ The primary table is `laps`, where each row represents a single lap completed by a driver during a racing session.
60
+
61
+ ### Key Columns
62
+
63
+ **Event & Session Information:**
64
+ - `session_id`: Unique identifier for each racing session
65
+ - `year`: Race year (2021-2025)
66
+ - `event`: Event name (e.g., "daytona-international-speedway")
67
+ - `session`: Session type ("race", "qualifying", "practice")
68
+ - `start_date`: Session start date and time
69
+
70
+ **Lap Performance Data:**
71
+ - `lap`: Lap number within the session
72
+ - `car`: Car number
73
+ - `lap_time`: Individual lap time (TIME format)
74
+ - `session_time`: Elapsed time from session start
75
+ - `pit_time`: Time spent in pit stops
76
+ - `class`: Racing class (GTD, GTP, LMP2, etc.)
77
+
78
+ **Driver Information:**
79
+ - `driver_name`: Driver name
80
+ - `license`: FIA license level (Platinum, Gold, Silver, Bronze)
81
+ - `driver_country`: Driver's country
82
+ - `team_name`: Team name
83
+ - `stint_number`: Sequential stint number for driver/car
84
+
85
+ **Weather Conditions:**
86
+ - `air_temp_f`: Air temperature (Fahrenheit)
87
+ - `track_temp_f`: Track surface temperature (Fahrenheit)
88
+ - `humidity_percent`: Relative humidity
89
+ - `pressure_inhg`: Atmospheric pressure
90
+ - `wind_speed_mph`: Wind speed
91
+ - `wind_direction_degrees`: Wind direction
92
+ - `raining`: Boolean flag for rain conditions
93
+
94
+ ### Data Statistics
95
+
96
+ The dataset typically contains:
97
+ - **~50,000+ laps** across all years and sessions
98
+ - **200+ drivers** from various countries and license levels
99
+ - **100+ teams** competing across different classes
100
+ - **40+ events** per year across multiple racing venues
101
+ - **Weather data** matched to each lap for environmental analysis
102
+
103
+ ## Dataset Creation
104
+
105
+ ### Curation Rationale
106
+
107
+ This dataset was created to provide comprehensive, structured access to IMSA racing data for research and analysis purposes. The integration of lap times with weather conditions and driver information enables sophisticated motorsport analytics that would otherwise require manual data correlation.
108
+
109
+ ### Source Data
110
+
111
+ #### Data Collection and Processing
112
+
113
+ Data is collected from the official IMSA WeatherTech Championship results website using automated scraping tools. The processing pipeline:
114
+
115
+ 1. **Event Discovery**: Identifies all racing events for specified years
116
+ 2. **Data Extraction**: Downloads race results, lap times, and weather data
117
+ 3. **Data Integration**: Matches weather conditions to individual laps using temporal correlation
118
+ 4. **Driver Enrichment**: Adds driver license levels, countries, and team information
119
+ 5. **Quality Assurance**: Validates data consistency and handles missing values
120
+
121
+ #### Who are the source data producers?
122
+
123
+ The source data is produced by:
124
+ - **IMSA (International Motor Sports Association)**: Official race timing and results
125
+ - **Racing teams and drivers**: Performance data during competition
126
+ - **Weather monitoring systems**: Environmental conditions at racing venues
127
+
128
+ ## Technical Implementation
129
+
130
+ The dataset is generated using:
131
+ - **Ruby-based scraper**: Collects data from official sources
132
+ - **DuckDB database**: Stores and processes the integrated dataset
133
+ - **SQL transformations**: Creates the final analytical tables