if (interactive()) {
# To get a specific season/race, specify them.
get_driver_style(driver = "ALO", season = 2024, round = 3)
# For drivers who haven't moved around recently, get their current season's style:
get_driver_style(driver = "LEC")
# Get all driver abbreviations and colors quickly:
get_driver_color_mapping(season = 2023, round = "Montreal", session = "R")
get_team_color(team = "Alpine", season = 2023, round = 1)
}
Run the code above in your browser using DataLab