Shapefile Processing

read_raw_coc_shapefile()

Read in original CoC shapefile

CoC Crosswalk Creation

build_county_crosswalk()

Creates the county to CoC crosswalk

build_tract_crosswalk()

Creates the tract to CoC crosswalk

match_tracts_to_cocs()

Match Census Tracts to CoCs

fetch_tract_data()

Gets ACS data from the Census API

get_shapefiles()

Read in CoC shapefiles

get_pre_2013_shapefiles()

Fetches pre-2013 CoC shapefiles

build_coc_list()

Build list of CoCs

build_coc_populations()

CoC populations and poverty rates

get_coc_categories()

Creates a table of urban/rural CoC categories

PiT Counts

build_pit_rates()

Calculate homelessness rates by CoC

get_long_pit_data()

Reshapes the PIT count data to long form

get_pit_years()

Parse the years covered by the PIT counts

parse_pit_year()

Read and clean raw PIT count data

Renter Population Share

build_county_renter_share() build_coc_renter_shares()

Calculates the share of renters in each CoC

HUD FMRs (Fair Market Rents)

process_split_county_fmr() build_coc_fmr()

Builds CoC level FMRs

process_fmr()

Read and process raw FMR data

get_states_with_split_counties() get_acs_county_sub()

Fetches ACS renter household counts

Zillow Rent Index

build_coc_zillow_rent()

Creates a CoC level Zillow rent index

build_tract_zillow_rent()

Creates a census tract level Zillow rent index

process_tract_to_zip()

Reads and processes tract to zip code crosswalk

process_zillow_data()

Reads and processes raw Zillow rent index data

Rent burden

build_coc_rent_burden()

CoC-level shares of rent burdened households

Rental Vacancy Rate

build_coc_vacancy_rates()

CoC housing vacancy rents

Unemployment rate

build_coc_unemployment()

CoC-level unemployment rates

fetch_unemployment()

Fetch raw BLS unemployment rates

Public Program Utilization

build_coc_public_program_use()

CoC public program utilization rates

fetch_public_program_use()

Fetch ACS public program use data

Evictions

build_coc_evictions()

Creates eviction data

Income

build_coc_income()

Creates CoC average median income measures

Helpers

fetch_acs()

Fetches ACS table data from the Census Bureau API

write_dataset()

Write combined dataset to disk

build_display_map()

Moves Alaska and Hawaii for compact 50 state map