get_decennial_msa: Decennial Estimates by MSA

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

get_decennial_msaR Documentation

Decennial Estimates by MSA

Description

Generate decennial estimates for multiple tables by MSA(s).

Usage

get_decennial_msa(table_codes, year, fips = NULL)

Arguments

table_codes

A character string or vector of Census table codes.

year

Numeric value. A decennial year equal or greater than 2010

fips

Character value. Single code or vector of MSA fips codes.

Value

a tibble of decennial estimates by MSA(s) for selected table codes. Does not include variable names.

Author(s)

Christy Lam

Examples

Sys.getenv("CENSUS_API_KEY")
get_decennial_msa(table_codes = c("H001"), year = 2010)

get_decennial_msa(table_codes = c("H001", "P001"), year = 2010, fips = c('42660', "28420"))

get_decennial_msa(table_codes = c("H001"), year = 2010, fips = c('42660'))

cyyllam/mycensus documentation built on July 7, 2022, 8:40 p.m.