pl_get_baf: Download 2020 Block Assignment Files for a State

View source: R/pl_get_baf.R

pl_get_bafR Documentation

Download 2020 Block Assignment Files for a State

Description

[Experimental] From the Census: "The Block Assignment Files (BAFs) are among the geographic products that the Census Bureau provides to states and other data users containing the small area census data necessary for legislative redistricting. The BAFs contain Census tabulation block codes and geographic area codes for a specific geographic entity type."

Usage

pl_get_baf(abbr, geographies = NULL, cache_to = NULL, refresh = FALSE)

Arguments

abbr

the state abbreviation to get the BAF for

geographies

the geographies to get. Defaults to all available.

cache_to

the file name, if any, to cache the results to (as an RDS). If a file exists and refresh=FALSE, will read BAF from this file.

refresh

if TRUE, force a re-download of the BAF data.

Value

A list of tibbles, one for each available BAF geography.

Examples

pl_get_baf("RI")
pl_get_baf("RI", "VTD")


PL94171 documentation built on Sept. 12, 2022, 1:06 a.m.