Description Usage Value Examples
View source: R/get_colombia_regional_cases.R
Fetches COVID case, death, and test counts by region Sourced from Ideas Col: https://github.com/ideascol/covid19
1 |
A dataframe of case, death and testing counts in Colombian regions
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
regions <- rnaturalearth::ne_states("Colombia", returnclass = "sf")
data <- get_colombia_regional_cases() %>%
dplyr::filter(date == max(date))
regions_with_data <- dplyr::left_join(regions, data, by = "iso_3166_2")
regions_with_data %>%
ggplot2::ggplot() +
ggplot2::geom_sf(ggplot2::aes(fill = cases))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.