get_summary {canadacovid} | R Documentation |
Runs a GET request of summary data from the COVID-19 tracker API, and
returns parsed data.
Via the split
argument, data my be "overall" (all provinces/territories
combined), by "province" (one row per province/territory) or by "region"
(one row per health region).
get_summary(split = c("overall", "province", "region"))
split |
One of "overall", "province", or "region" to specify how the data is split. |
A data frame containing the summary data.
get_summary()
get_summary("province")
get_summary("region")