cens_parse_tables {easycensus} | R Documentation |
Attempt to Parse Tables from a Census API
Description
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 |
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
, atibble
with all of the parsed variable values
Examples
## Not run:
cens_parse_tables("dec/pl", 2020)
## End(Not run)
[Package easycensus version 1.1.1 Index]