pl_tidy_shp {PL94171} | R Documentation |
All-in-one Shapefile Function
Description
Downloads block geography and merges with the cleaned PL 94-171 file.
Usage
pl_tidy_shp(abbr, path, year = 2020, type = c("blocks", "vtds"), ...)
Arguments
abbr |
The state to make the shapefile for |
path |
The path to the PL files, as in |
year |
The year to download the block geography for. Should match the year of the PL files. |
type |
If |
... |
passed on to |
Value
an sf
object with demographic and shapefile information for the
state.
Examples
pl_ex_path <- system.file("extdata/ri2018_2020Style.pl", package = "PL94171")
pl_tidy_shp("RI", pl_ex_path)
[Package PL94171 version 1.1.2 Index]