Calculates the CoC population and share of the CoC coming from each tract. Both for the total population and the population under the poverty line.
build_tract_crosswalk(recombined_tracts)
recombined_tracts | A data frame of tracts, their populations, and the corresponding CoC |
---|
A data frame:
tract_fips
: Census Tract FIPS code
coc_number
: CoC number
coc_name
: CoC name
year
: Year
tract_pop
: Census Tract population
tract_poverty_pop
: Census Tract population below poverty line
tract_renting_hh
: Number of renter households in the Census Tract
coc_pop
: CoC population
coc_poverty_pop
: CoC population below poverty line
coc_renting_hh
: Number of renter households in the CoC
pct_coc_pop_from_tract
: Share of the CoC population from the Census Tract
pct_coc_renting_hh_from_tract
: Share of the CoC renter households from the Census Tract