clean_bafs: Clean Block Assignment Files

View source: R/clean.R

clean_bafsR Documentation

Clean Block Assignment Files

Description

Clean Block Assignment Files

Usage

clean_bafs(bafs, state = NULL)

Arguments

bafs

list of block assignment files, named by type

state

if provided, adds the first two digits of the state FIPS to each code

Value

a tibble with two columns

  • GEOID: block GEOIDs

  • target: output GEOIDs for the target geography

Examples

data('example_baf') |>
  clean_bafs('WA')

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