get_ergast_content {f1dataR} | R Documentation |
Get Ergast Content
Description
Gets Ergast content and returns the processed json object if no Ergast errors are found. This will automatically fall back from https:// to http:// if Ergast suffers errors, and will automatically retry up to 5 times by each protocol
Note the Ergast Motor Racing Database API will shut down at the end of 2024. This function willbe replaced with a new data-source when one is made available.
Usage
get_ergast_content(url)
Arguments
url |
the Ergast URL tail to get from the API (for example,
|
Value
the result of jsonlite::fromJSON
called on Ergast's return content.
Further processing is performed by specific functions
[Package f1dataR version 1.6.0 Index]