Description Usage Arguments Value
View source: R/coc_economic_indicators.R
Takes the weighted average of the provided income measures, where the weights are the county's share of the total CoC population. The default measures are: median household income, median family income, and median individual earnings (pay from wages and salary).
1 | build_coc_income(yr, county_crosswalk, income_variables)
|
yr |
A numeric with the year of the data. |
county_crosswalk |
A data frame with the county to CoC crosswalk. |
income_variables |
A character vector (optionally named with variable names) with the ACS variable codes. |
A data frame:
coc_number
: CoC_Number
year
: Year
Variables: Weighted average of the provided variables (weights are county share of the CoC population)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.