pl_subset: Subset to a Summary Level

Description Usage Arguments Details Value Examples

View source: R/pl_subset.R

Description

This subsets a pl table to a desired summary level. Typical choices include:

Usage

1
pl_subset(pl, sumlev = "750")

Arguments

pl

A list of PL tables, as read in by pl_read()

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

1
2
3
pl_ex_path <- system.file('extdata/ri2018_2020Style.pl', package = 'PL94171')
pl <- pl_read(pl_ex_path)
pl <- pl_subset(pl)

PL94171 documentation built on Nov. 19, 2021, 1:07 a.m.