pums_variables: Dataset with PUMS variables and codes

Description Usage Format Details

Description

Built-in dataset for variable name and code label lookup. To access the data directly, issue the command data(pums_variables).

Usage

1

Format

An object of class tbl_df (inherits from tbl, data.frame) with 31759 rows and 12 columns.

Details

Dataset with PUMS variables and codes

Built-in dataset that is created from the Census PUMS data dictionaries. Use this dataset to lookup the names of variables to use in get_pums. This dataset also contains labels for the coded values returned by the Census API and is used when recode = TRUE in get_pums.

Because variable names and codes change from year to year, you should filter this dataset for the survey and year of interest. NOTE: 2017 - 2019 (acs1 and acs5) variables are available.


tidycensus documentation built on Sept. 24, 2021, 1:07 a.m.