Skip to content

ucsf-bhhi/coc-data

Repository files navigation

coc-data

Builds a dataset that combines Point in Time counts with housing market and other economic data converted to be at the Continuum of Care (CoC) level.

The project makes extensive use of the targets R package.

To run the code, make sure you have the environmental variable CENSUS_API_KEY set to your API key for U.S. Census Bureau data. You can get a free API key here: https://api.census.gov/data/key_signup.html.

The strategy to link census tracts and counties to CoCs is based on Byrne, et al. (2016).

A data dictionary is available here.

Input Data Sources

Data File Location Source
CoC Shapefiles input_data/geography/input_data/coc_shapefiles HUD CoC GIS Geodatabases
Census Tract Shapefiles tigris R package via tidycensus R package tidycensus package, tigris package
American Community Survey (ACS) Tables tidycensus R package tidycensus package
Bureau of Labor Statistics - Local Area Unemployment Statistics unemployment_url target in _targets.R County Level Raw Data
Census Tract to ZIP Code Crosswalks input_data/geography/usps_tract_to_zip/ HUD-USPS ZIP Code Crosswalk Files
HUD Fair Market Rents (FMR) input_data/hud_fmr/ HUD Fair Market Rents, County Level Data
HUD Point in Time (PIT) Counts input_data/pit_counts/ HUD 2007-2019 PIT Counts by CoC
Zillow Rent Index input_data/zillow_rent_index/ Zillow Observed Rent Index (Smoothed, Seasonally Adjusted): All Homes Plus Multifamily Time Series (Zip Code Geography)
Eviction Data input_data/eviction_lab The Eviction Lab at Princeton University