pl_tidy_shp | R Documentation |
Downloads block geography and merges with the cleaned PL 94-171 file.
pl_tidy_shp(abbr, path, year = 2020, type = c("blocks", "vtds"), ...)
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 |
an sf
object with demographic and shapefile information for the
state.
pl_ex_path <- system.file("extdata/ri2018_2020Style.pl", package = "PL94171") pl_tidy_shp("RI", pl_ex_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.