fetch_county_geo: Fetch standardized geographies

View source: R/fetch_county_geo.R

fetch_county_geoR Documentation

Fetch standardized geographies

Description

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().

Usage

fetch_county_geo(core = TRUE, ...)

fetch_ctu_geo(core = TRUE, ...)

Arguments

core

logical, whether to include all counties in the MPO. Default is TRUE.

...

Arguments passed to ⁠[tigris]⁠ functions

Value

An sf object containing specified geographies.

Note

This function relies on {rlang} internal functions.

See Also

Other spatial helpers: snippets_install()

Examples

## 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)


Metropolitan-Council/councilR documentation built on March 30, 2024, 2:43 a.m.