Skip to contents

Uses the same parsing code as that which generates tables_sf1 and tables_acs See https://www.census.gov/data/developers/data-sets.html for a list of APIs and corresponding years, or use censusapi::listCensusApis().

Usage

cens_parse_tables(api, year)

Arguments

api

A Census API programmatic name such as "acs/acs5".

year

The year for the data

Value

A list of cens_table objects, which are just lists with four elements:

  • concept, a human-readable name

  • tables, the constituent table codes

  • surveys, the supported surveys

  • dims, the parsed names of the dimensions of the tables

  • vars, a tibble with all of the parsed variable values

Examples

if (FALSE) {
cens_parse_tables("dec/pl", 2020)
}