Skip to contents

Retrieves race results for a given season and optionally a specific round.

Usage

f1_results(season = NULL, round = NULL)

Arguments

season

Integer or character. The season year (e.g., 2024). Defaults to the current year.

round

Integer or character. The round number within the season. If NULL (default), returns results for all rounds in the season.

Value

A tibble with one row per driver per race, including columns:

season

Integer. Season year.

round

Integer. Round number.

race_name

Character. Name of the Grand Prix.

race_date

Date. Date of the race.

number

Integer. Driver's car number.

position

Integer. Finishing position.

points

Numeric. Points awarded.

grid

Integer. Starting grid position.

laps

Integer. Number of laps completed.

status

Character. Finishing status (e.g., "Finished", "+1 Lap").

driver_Driver details (id, code, given/family name, etc.). constructor_

Constructor details (id, name, nationality).

time_Race time information (where available). fastest_lap_

Fastest lap details (where available).

See also

f1_qualifying() for qualifying session results, f1_sprint() for sprint race results.

Other race results: f1_qualifying(), f1_sprint()

Examples

if (FALSE) { # \dontrun{
# Results for a specific race
f1_results(2024, 1)

# All results for a season
f1_results(2024)
} # }