get_acs_recs | R Documentation |
Generate ACS estimates for multiple tables by tracts, counties, MSAs, or places for multiple years.
get_acs_recs(
geography,
state = "Washington",
counties = c("King", "Kitsap", "Pierce", "Snohomish"),
table.names,
years,
FIPS = c("14740", "42660"),
place_FIPS = NULL,
acs.type
)
geography |
A character string as either 'tract', 'county', 'msa', or 'place'. |
state |
A character string state name or abbreviation. Defaults to Washington. |
counties |
A character string or vector of counties. Defaults to PSRC counties. |
table.names |
A character string or vector of Census table codes. |
years |
A numeric value or vector of years. An ACS year equal or greater than 2010 to the latest available year. |
FIPS |
Character string for FIPS codes for specific MSA geographies. Defaults to Seattle & Bremerton MSA c("14740","42660") |
place_FIPS |
Character string of FIPS codes (with state prefix) for specific Census Places. If NULL, Places within the PSRC Region will be returned. |
acs.type |
A character string as either 'acs1', 'acs3' or acs5'. |
a tibble of ACS estimates by selected geography for selected table codes. Includes variable names.
Craig Helmann
get_acs_recs(geography = 'county',
table.names = c('B03002'),
years=c(2017,2019),
acs.type = 'acs1')
get_acs_recs(geography = 'county',
table.names = c("C17002"),
counties=c("Kitsap"),
years=c(2019),
acs.type = 'acs5')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.