Learn R Programming

PL94171 (version 1.2.1)

pl_get_vtd: Download 2020 Voting District Shapefiles

Description

[Experimental] A (likely temporary) function to download TIGER shapefiles for 2020 voting tabulation districts (VTDs).

Usage

pl_get_vtd(abbr, cache_to = NULL, refresh = FALSE)

Value

An sf object containing the VTDs.

Arguments

abbr

Geography to download data for. See details for full list.

cache_to

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

refresh

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

Examples

Run this code
# \donttest{
shp <- pl_get_vtd("RI")
# }

Run the code above in your browser using DataLab