cup_race_data {nascaR.data} | R Documentation |
NASCAR Cup Series Results
Description
A collection of NASCAR's top level competitive race series results from the first race in 1949 through the completion of the 2023 season. The series has undergone several name changes, including its start as the Strictly Stock and Grand National to Winston Cup through the current NASCAR Cup Series.
Usage
cup_race_data
Format
A data frame with 97,474 rows and 23 variables:
- season
num: Racing season (1949-2023)
- race
num: Chronological race number for that season (1-62)
- site
chr: Location of the race (city)
- track
chr: Race track name
- track_length
num: Race track length, in miles
- track_type
chr: Race track surface (dirt track, paved track, road course)
- finish
num: Finish position in the race
- start
num: Start position in the race
- driver
chr: Driver's name
- manufacturer
chr: Car manufacturer (e.g., "Chevrolet", "Ford", "Toyota")
- car_number
chr: Car number
- owner
chr: Car owner
- sponsor
chr: Car sponsor
- win
num: Indicator variable for win;
1
= win,0
= did not win- top_5
num: Indicator variable for finish position in 5th place or better;
1
= yes,0
= no- top_10
num: Indicator variable for finish position in 10th place or better;
1
= yes,0
= no- top_20
num: Indicator variable for finish position in 20th place or better;
1
= yes,0
= no- laps
num: Number of laps completed in the race
- laps_led
num: Number of laps led in the race
- status
chr: Status at the end of the race (e.g., "Running", "Accident"), if available
- money
num: Total race earning (in dollars) not including bonus money, if available. No available data beginning with the 2016 season.
- pts
num: Points earned in the race. Available beginning with the 1975 season.
- playoff_pts
num: Playoff points earned in the race. Available beginning with the 2017 season.
Source
https://www.driveraverages.com/nascar/nascar-stats.php
https://en.wikipedia.org/wiki/NASCAR_Cup_Series
Examples
data(cup_race_data)