pl_subset {PL94171} | R Documentation |
Subset to a Summary Level
Description
This subsets a pl table to a desired summary level. Typical choices include:
'750': block
'150': block group
'630': voting district
'050': county
Usage
pl_subset(pl, sumlev = "750")
Arguments
pl |
A list of PL tables, as read in by |
sumlev |
the summary level to filter to. A 3 character SUMLEV code. Default is '750' for blocks. |
Details
All summary levels are listed in pl_geog_levels.
Value
tibble
Examples
pl_ex_path <- system.file('extdata/ri2018_2020Style.pl', package = 'PL94171')
pl <- pl_read(pl_ex_path)
pl <- pl_subset(pl)
[Package PL94171 version 1.1.2 Index]