Read PPMF data and Merge with Census 2010 Data
read_merge_ppmf(
state,
level,
versions = c("19"),
prefixes = paste0("v", versions, "_"),
paths = Sys.getenv(paste0("ppmf", versions))
)
state abbreviation
geography level. One of 'block', 'block group', 'tract', 'county'
character vector of ppmf versions. Currently '19', '12', and/or '4'
prefixes to give pop and vap columns in output. Default is paste0('v', versions, '_')
paths to PPMF data. Default is Sys.getenv(paste0('ppmf', versions))
sf tibble of PPMF merged with Census 2010 data
if (FALSE) {
# Requires Census Bureau API
de_bg <- read_merge_ppmf('DE', 'block group')
}