Matches Census Tracts to CoCs based on the CoC the center of the Census Tract lies within.

match_tracts_to_cocs(tract_points, coc_boundaries)

Arguments

tract_points

sf object with the center points of the Census Tracts

coc_boundaries

sf object with the CoC boundaries

Value

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

See also