add_geometry.Rd
Add geometries to Census data frames that are imported using other functions in this package.
add_geometry(data, geography, year = NULL, by_name = FALSE)
data | Census data to attach to shapefiles |
---|---|
geography | Geographic unit of the geometry |
year | Vintage of the geographic unit. Valid inputs depend on what the geography is. |
by_name | TRUE to use county name/census place name for matching |
An sf object