get_statcan_geo_suite | R Documentation |
Reads the geosuite data for the given level and census year. Data gets cached after first download if the cancensus cache path has been set. For older years 'get_statcan_geographic_attributes()' can fill in most of the information
get_statcan_geo_suite(level, census_year = "2021", refresh = FALSE)
level |
geographic level to return the data for, valid choices are "DB", "DA", "ADA", "CT", "CSD", "CMA", "CD", "PR", "FED", "DPL", "ER", "PN", "POPCTR" |
census_year |
census year to get the data for, right now only 2021 is supported |
refresh |
(logical) refresh the cache if true |
tibble with the geosuite data
# list add the cached census data
## Not run:
get_statcan_geo_suite("DA","2021")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.