The CoC level index is created by taking a weighted average of the census tract level Zillow rent index for the tracts in each CoC. The weights are the share of the CoC's population that are in each tract.

build_coc_zillow_rent(tract_rent, tract_to_coc)

Arguments

tract_rent

A data frame with processed census tract level Zillow rent index data created by build_tract_zillow_rent().

tract_to_coc

A data frame with a census tract to CoC crosswalk created by build_tract_crosswalk().

Value

A data frame with the CoC level Zillow rent index.

  • coc_number: CoC number (character)

  • year: year (integer)

  • coc_rent_zillow: annual average Zillow rent index, NA for CoC with no zip codes covered by the Zillow rent index (numeric)

  • coc_share_na_rent: share of the CoC's population in zip codes not covered by the Zillow rent index (numeric)

See also

process_zillow_data() for processing the raw Zillow rent index, build_coc_zillow_rent() for creating the CoC level Zillow rent index, build_tract_crosswalk() for creating the census tract to CoC crosswalk