getDriverLaps: Get a data.frame of a specific driver's lap times in a...

View source: R/functionsf1.R

getDriverLapsR Documentation

Get a data.frame of a specific driver's lap times in a Formula 1 Grand Prix

Description

Get a data.frame of a specific driver's lap times in a Formula 1 Grand Prix

Usage

getDriverLaps(year, race, driverId)

Arguments

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

Examples

vettel_laps_aus_2011 <- getDriverLaps(2011, 1, driverId = "vettel")

arkraieski/formula1data documentation built on July 7, 2024, 7:25 a.m.