fetch_decennial_pops_by_race: Get decennial census estimates of per-block populations by...

View source: R/fetch_decennial_pops_by_race.R

fetch_decennial_pops_by_raceR Documentation

Get decennial census estimates of per-block populations by race/ethnicity

Description

This function retrieves data from tables that split people into race and Hispanic/Latin\@ ethnicity.

Usage

fetch_decennial_pops_by_race(...)

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 to build_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


higherX4Racine/hercacstables documentation built on Jan. 15, 2025, 9:58 p.m.