Learn R Programming

f1dataR (version 2.0.1)

get_tire_compounds: Get Tire Compounds

Description

Get a data.frame of all tire compound names and associated colours for a season.

Usage

get_tire_compounds(season = get_current_season())

Value

a data.frame with two columns: compound and color

Arguments

season

number from 2018 to current season. Defaults to current season.

Examples

Run this code
if (interactive()) {
  # To get this season's tires
  get_tire_compounds()

  # Compare to 2018 tires:
  get_tire_compounds(2018)
}

Run the code above in your browser using DataLab