| get_census_boundaries | R Documentation |
State or district boundaries for a given census year.
get_census_boundaries(year, geography = c("state", "district"))
year |
Census year. Available: 1941, 1951, 1961, 1971, 1981, 1991, 2001, 2011. |
geography |
Geographic level: "state" or "district". |
An sf object containing the geographic boundaries with harmonized state names.
Boundary files are downloaded on first use; see census_cache_dir().
boundaries <- get_census_boundaries(1971, "district")
ggplot2::ggplot(boundaries) +
ggplot2::geom_sf()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.