pums_variables {tidycensus}R Documentation

Dataset with PUMS variables and codes

Description

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

Usage

data(pums_variables)

Format

An object of class tbl_df (inherits from tbl, data.frame) with 58580 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 and 2021 acs1 and 2017 - 2021 acs5 variables are available.


[Package tidycensus version 1.6.5 Index]