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)
unemployment_data | A data frame with raw unemployment data from
|
---|---|
county_crosswalk | A data frame with a county to CoC crosswalk from
|
A data frame:
coc_number
: CoC number
year
: Year
unemployment_rate
: CoC unemployment rate
fetch_unemployment()
for downloading the BLS data