get_ergast_content | R Documentation |
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.
get_ergast_content(url)
url |
the Ergast URL tail to get from the API (for example,
|
the result of jsonlite::fromJSON
called on Ergast's return content.
Further processing is performed by specific functions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.