R/us_population_details.R
us_population_details.Rd
Get data from the US Census Bureau Population Estimates APIs.
us_population_details(...)
Passed along to get_estimates
. Typical
arguments would be something like (geography='county', product='population', year=2019)
.
a data.frame
link[tidycensus]{get_estimates}
res = us_population_details(geography='county',
product='population', year=2019)
#> Error in tidycensus::get_estimates(...): A Census API key is required. Obtain one at http://api.census.gov/data/key_signup.html, and then supply the key to the `census_api_key()` function to use it throughout your tidycensus session.
head(res)
#> Error in head(res): object 'res' not found