get_content_parsed {canadacovid} | R Documentation |
Sends a GET request to https://api.covid19tracker.ca/.
If the request is successful and the returned content is JSON, formats it and
returns it parsed (via jsonlite::fromJSON
).
get_content_parsed(url)
url |
A string URL linking to the API. If it does not contain the base
"https://api.covid19tracker.ca", then |
A list.
get_content_parsed("https://api.covid19tracker.ca/provinces")