PL files come in one of four types and are pipe-delimited with no header row. This function speedily reads in the files and assigns the appropriate column names and types.

pl_read(path, ...)

read_pl(path, ...)



a path to a folder containing PL files. Can also be path or a URL for a ZIP file, which will be downloaded and unzipped.


passed on to readr::read_delim()


A list of data frames containing the four PL files.


# \donttest{
pl_ex_path <- system.file('extdata/', package = 'PL94171')
pl <- pl_read(pl_ex_path)
# }
# or try `pl_read(pl_url("RI", 2010))`