R/coc_county_tract_crosswalk.R
build_county_crosswalk.Rd
Calculates the CoC population, share of the CoC coming from each tract, and share of each CoC in each county. Both for the total population and the population under the poverty line.
build_county_crosswalk(tract_crosswalk)
tract_crosswalk | A tract to CoC crosswalk |
---|
A data frame:
county_fips
: County FIPS code
coc_number
: CoC number
coc_name
: CoC name
year
: Year
coc_pop
: CoC population
coc_renting_hh
: Number of renter households in the CoC
county_pop_in_coc
: Number of county residents in the CoC
county_renting_hh_in_coc
: Number of county renting households in the CoC
county_pop
: County population
county_renting_hh
: Number of renter households in the county
pct_coc_pop_from_county
: Share of the CoC population from the county
pct_coc_renting_hh_from_county
: Share of the CoC renter households from the county
pct_county_pop_in_coc
: Share of the county population in the CoC
pct_county_renting_hh_in_coc
:Share of the county renter households in the CoC