getDriverLaps | R Documentation |
Get a data.frame of a specific driver's lap times in a Formula 1 Grand Prix
getDriverLaps(year, race, driverId)
year |
a four digit integer |
race |
a 1 or 2 digit integer indicating which round of the season |
driverId |
string containing an 'Ergast' driverId, usually the driver's last name in all lowercase |
vettel_laps_aus_2011 <- getDriverLaps(2011, 1, driverId = "vettel")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.