census_to_customgeo | R Documentation |
Function to flexibly convert psrccensus estimates to any regional sf geography
census_to_customgeo(df, custom_geo, custom_geo_var, wgt = "total_pop")
df |
acs or decennial dataset returned from psrccensus |
custom_geo |
custom sf file with intended geography/geometry |
custom_geo_var |
grouping variable from custom geography file, i.e. geography label |
wgt |
measure share used as split weight either "total_pop" (default), "household_pop", "group_quarters_pop", "housing_units" or "occupied_housing_units" |
table with custom geographic units in place of census geography units
Michael Jensen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.