Fetches daily COVID cases, and deaths by province collated by Provincial Canadian Health Authorities Data is available at https://www.canada.ca/en/public-health/services/diseases/2019-novel-coronavirus-infection.html

get_canada_regional_cases(out = "timeseries")

Arguments

out

Character String specifying output data format "timeseries", "total", default: "timeseries".

Value

A data.frame of COVID cases by province in Canada

Examples

if (FALSE) { total_cases = get_canada_regional_cases(out = "total") rnaturalearth::ne_states(country = "canada", returnclass="sf") %>% dplyr::left_join(total_cases, by = c('name_en' = 'province')) %>% ggplot2::ggplot() + ggplot2::theme_void() + ggplot2::geom_sf(aes(fill = cases_confirmed)) + ggplot2::labs(fill = 'Confirmed Cases') }