get_jolpica_content {f1dataR}R Documentation

Get Jolpica Content

Description

Gets Jolpica-F1 content and returns the processed json object if no errors are found. This will automatically fall back from https:// to http:// if Jolpica suffers errors, and will automatically retry up to 5 times by each protocol

Note in 2024 this replaced the deprecated Ergast API. Much of the historical data is duplicated in Jolpica

Usage

get_jolpica_content(url)

Arguments

url

the Jolpica URL tail to get from the API (for example, "{season}/circuits.json?limit=40" is called from load_circuits()).

Value

the result of jsonlite::fromJSON called on Jolpica's return content. Further processing is performed by specific functions


[Package f1dataR version 2.0.1 Index]