View source: R/fetch_county_geo.R
fetch_county_geo | R Documentation |
The default fetch_county_geo()
to return county outlines, plus a suite of other functions to return more niche geographies.
To get city, township, and unorganized territory (CTU) boundaries, use fetch_ctu_geo()
.
fetch_county_geo(core = TRUE, ...)
fetch_ctu_geo(core = TRUE, ...)
core |
logical, whether to include all counties in the MPO.
Default is |
... |
Arguments passed to |
An sf
object containing specified geographies.
This function relies on {rlang}
internal functions.
Other spatial helpers:
snippets_install()
## Not run:
library(ggplot2)
fetch_county_geo() %>%
ggplot() +
geom_sf() +
theme_void()
fetch_ctu_geo() %>%
ggplot() +
geom_sf(fill = "grey90") +
theme_void() +
geom_sf_text(aes(label = CTU_NAME),
colour = "black",
check_overlap = F,
size = 2
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.