| get_driver_info | R Documentation |
Search for a driver by name and return career statistics. Supports partial names, typos, and case-insensitive input via the built-in fuzzy matching engine.
get_driver_info(driver, series = "all", type = "summary", interactive = TRUE)
driver |
Character string of the driver name to search
for. Supports partial names and common misspellings
(e.g., |
series |
Character string ( |
type |
Character string specifying the return format:
|
interactive |
Logical. When |
A tibble of driver statistics (format depends on
type), or invisible(NULL) if no match is found.
get_team_info(), get_manufacturer_info(),
load_series(), series_data
# Career summary across all series
get_driver_info("Christopher Bell")
# Season-by-season Cup data
get_driver_info(
"Christopher Bell",
series = "cup",
type = "season"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.