get_decennial_tract_county_bg: Decennial Estimates by Tract or Block Group and County

View source: R/get-decennial-recs.R

get_decennial_tract_county_bgR Documentation

Decennial Estimates by Tract or Block Group and County

Description

Generate decennial estimates for multiple tables by multiple tracts and/or counties

Usage

get_decennial_tract_county_bg(
  geography,
  counties = c("King", "Kitsap", "Pierce", "Snohomish"),
  variables,
  table_codes,
  years,
  state = "WA",
  sumfile
)

Arguments

geography

A character string as either 'tract', 'county', 'block group'.

counties

A character string or vector of counties. Defaults to PSRC counties.

variables

A character string or vector of Census variables

table_codes

A character string or vector of Census table codes.

years

Numeric or a vector of numeric years. A decennial year or years equal or greater than 2000.

state

A character string state abbreviation

sumfile

A character string for which summary file to use such as "sf1" or "dp"

Value

a tibble of decennial estimates by either tracts in a county/counties for selected table codes and years. Does not include variable names.

Author(s)

Christy Lam


psrc/psrccensus documentation built on June 1, 2025, 1:06 p.m.