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)
the result of jsonlite::fromJSON
called on Ergast's return content.
Further processing is performed by specific functions
the Ergast URL tail to get from the API (for example,
"{season}/circuits.json?limit=40"
is called from load_circuits()
).