Builds CoC level unemployment rates by taking a weighted average of county unemployment rates from the BLS Local Area Unemployment Statistics (LAUS). The weights are the share of the CoC's population coming from each county.

build_coc_unemployment(unemployment_data, county_crosswalk)

Arguments

unemployment_data

A data frame with raw unemployment data from fetch_unemployment().

county_crosswalk

A data frame with a county to CoC crosswalk from build_county_crosswalk().

Value

A data frame:

  • coc_number: CoC number

  • year: Year

  • unemployment_rate: CoC unemployment rate

See also

fetch_unemployment() for downloading the BLS data