NWCA16_download: NWCA16_download: Downloads data from 2016 EPA National...

View source: R/NWCA16_download.R

NWCA16_downloadR Documentation

NWCA16_download: Downloads data from 2016 EPA National Wetland Condition Assessment

Description

This function downloads the 2016 EPA NWCA data directly from the National Aquatic Resource Surveys website and saves the dataset to disk.

Usage

NWCA16_download(path = NA, zip = TRUE)

Arguments

path

Quoted path of folder to download files into. If not specified, will save to working directory.

zip

Logical. If TRUE, exports a zip file. If FALSE (Default), exports individual csvs.

Value

Writes downloaded files to disk.

Examples

## Not run: 
# Run with defaults: path = getwd(), zip = T
NWCA16_download()

# Save files to specified data folder and not zipped
NWCA16_download(path = "./data", zip = FALSE)


## End(Not run)

KateMMiller/wetlandACAD documentation built on Oct. 22, 2023, 12:29 a.m.