Get decennial census estimates of per-block populations by race/ethnicity
fetch_decennial_pops_by_race.Rd
This function retrieves data from tables that split people into race and Hispanic/Latin\@ ethnicity.
Arguments
- ...
Arguments passed on to
build_api_url
for_items
<chr[]> one or more instances of
for_geo
desired, e.g."*"
or"000200"
, passed on tobuild_for_geographies()
use_key
<lgl?> optional, should the query include a Census API key from the system environment. Defaults to
TRUE
for_geo
<chr> the geographical level the data will describe, e.g.
"tract"
Value
a tibble
with at least four columns:
- Vintage
The decennial year, currently 2000, 2010, or 2020
- Race/Ethnicity
OMB text descriptions of Race/Ethnicities
- ...
additional columns that identify a geographic unit
- Population
The number of people in that block in that year of that race/ethnicity