View source: R/get-decennial-recs.R
get_decennial_place | R Documentation |
Generate decennial estimates for multiple tables by place(s).
get_decennial_place(table_codes, year, fips = NULL, state = "WA")
table_codes |
A character string or vector of Census table codes. |
year |
Numeric value. A decennial year equal or greater than 2010 |
fips |
Character value. Single code or vector of place fips codes. |
state |
A character string state abbreviation |
a tibble of decennial estimates by place(s) for selected table codes. Does not include variable names.
Christy Lam
Sys.getenv("CENSUS_API_KEY") get_decennial_place(table_codes = 'PCT013', year = 2010) get_decennial_place(table_codes = 'PCT013', year = 2010, fips = c("5363000", "5308850")) get_decennial_place(table_codes = c('PCT013', 'PCT022'), year = 2010, fips = c("5363000", "5308850"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.