Learn R Programming

nlaR (version 0.4.1)

nla_get: Download NLA data from USEPA

Description

Retrieves NLA flat files.

Usage

nla_get(year, use_rappdirs = FALSE, local_path = tempdir(), compress = "xz")

Arguments

year

numeric choice of 2007 or 2012.

use_rappdirs

logical write files to operating system data directories at the location returned by user_data_dir.

local_path

folder path to raw downloads from `nla_get`

compress

a logical specifying whether saving to a named file is to use "gzip" compression, or one of "gzip", "bzip2" or "xz" to indicate the type of compression to be used. Ignored if file is a connection.

Examples

Run this code
# \donttest{
nla_get(2012)
# }

Run the code above in your browser using DataLab