baf: Download Block Assignment Files (BAF) from the Census Bureau

View source: R/baf.R

bafR Documentation

Download Block Assignment Files (BAF) from the Census Bureau

Description

Download Block Assignment Files (BAF) from the Census Bureau

Usage

baf(
  state,
  year = 2020,
  geographies = NULL,
  cache_to = baf_download_path(),
  overwrite = FALSE
)

Arguments

state

state to download data for.

year

year to download data for. Default is 2020.

geographies

geography types to download. Default is NULL, which gets all available geographies.

cache_to

directory name to save the downloaded data. Default is baf_download_path().

overwrite

Should the data be re-downloaded? Default is FALSE.

Value

a list of dplyr::tibbles for each geography type

Examples

baf('DE', 2020)

baf documentation built on Aug. 31, 2025, 5:08 p.m.