Skip to contents

Parse the ACS codebook to get the maximum income bin for household income. Use to determine ACS-based upper bound for income recoding.

Usage

get_max_acs_income_bin(settings)

Arguments

settings

list. Must include:

  • acs_dataset — ACS dataset name

  • acs_year — ACS year

  • acs_tables — ACS table keys Modified by reference: no.

Value

integer. Maximum income bin from ACS codebook.

Details

  • Loads ACS variables table using tidycensus and settings.

  • Extracts max bin from ACS income table labels.

  • Returns integer; does not modify by reference.

  • Assumes valid ACS settings; errors if missing.

Settings

  • acs_dataset (direct): ACS dataset name. Default from settings.

  • acs_year (direct): ACS year. Default from settings.

  • acs_tables (direct): ACS table keys. Default from settings.

See also

  • get_max_income_bin

Other recoding utilities: get_age_upper_bounds(), get_income_bounds(), get_max_income_bin(), get_max_survey_income_bin()

Examples

## Not run:
get_max_acs_income_bin(settings)
#> Error: object 'settings' not found
## End(Not run)