Skip to contents

The 14 American Community Survey (ACS) variable codes that cacs_acs_prefetch() and cacs_run() use when variables is NULL (the default). Ten of them are the numerators and denominators of the five rates in cacs_acs_default_rates. The other four are total population (B01003_001), total households (B11001_001), median household income (B19013_001), and per capita income (B19301_001).

The names are short labels for the codes, such as pov_below for B17001_002. The package uses only the codes, so results name each variable by its code.

Usage

data("cacs_acs_default_vars")

Format

A named character vector of length 14. Each value is an ACS variable code: B and five digits for the table, an underscore, and three digits, such as B17001_002.

Source

The codes are from the ACS detailed tables of the U.S. Census Bureau. The variables and their names were chosen for this package.

Examples

data("cacs_acs_default_vars", package = "catchmentACS")
cacs_acs_default_vars
#>    total_pop    pov_denom    pov_below   med_hh_inc  per_cap_inc     total_hh 
#> "B01003_001" "B17001_001" "B17001_002" "B19013_001" "B19301_001" "B11001_001" 
#>   snap_denom    snap_recv    ssi_total       ssi_hh    emp_denom  labor_force 
#> "B22003_001" "B22003_002" "B19056_001" "B19056_002" "B23025_001" "B23025_002" 
#>    civ_labor   unemployed 
#> "B23025_003" "B23025_005" 
names(cacs_acs_default_vars)
#>  [1] "total_pop"   "pov_denom"   "pov_below"   "med_hh_inc"  "per_cap_inc"
#>  [6] "total_hh"    "snap_denom"  "snap_recv"   "ssi_total"   "ssi_hh"     
#> [11] "emp_denom"   "labor_force" "civ_labor"   "unemployed" 
length(cacs_acs_default_vars)  # 14
#> [1] 14