Get data from the US Census Bureau Population Estimates APIs.

us_population_details(...)

Arguments

...

Passed along to get_estimates. Typical arguments would be something like (geography='county', product='population', year=2019).

Value

a data.frame

See also

link[tidycensus]{get_estimates}

Author

Sean Davis seandavi@gmail.com

Examples

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