breakdown_geoid | R Documentation |
Breakdown Census GEOID into Components
breakdown_geoid(.data, GEOID = "GEOID", area_type = "spine")
.data |
dataframe, tibble, or sf tibble |
GEOID |
Column in .data with Census GEOID |
area_type |
String, default is 'spine' with type of GEOID. Options are 'spine' for states, counties, tracts, block groups, and blocks. 'shd' for lower state legislative districts, 'ssd' for upper state legislative districts, 'cd' for congressional districts, or 'zcta' for zip code tabulation areas. |
.data with added identifying columns based on area_type
data(mt_county) mt_county <- mt_county %>% breakdown_geoid()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.