View source: R/plotting_style.R
get_tire_compounds | R Documentation |
Get a data.frame of all tire compound names and associated colours for a season.
get_tire_compounds(season = get_current_season())
season |
number from 2018 to current season. Defaults to current season. |
a data.frame with two columns: compound
and color
if (interactive()) {
# To get this season's tires
get_tire_compounds()
# Compare to 2018 tires:
get_tire_compounds(2018)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.