powered by
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)
tibble with the geosuite data
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 to get the data for, right now only 2021 is supported
(logical) refresh the cache if true
# list add the cached census data if (FALSE) { get_statcan_geo_suite("DA","2021") }
Run the code above in your browser using DataLab