View source: R/NWCA16_download.R
NWCA16_download | R Documentation |
This function downloads the 2016 EPA NWCA data directly from the National Aquatic Resource Surveys website and saves the dataset to disk.
NWCA16_download(path = NA, zip = TRUE)
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. |
Writes downloaded files to disk.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.