download_rf1: Download the seamless Reach File (RF1) Database

Description Usage Arguments Value Examples

View source: R/downloading_tools.R

Description

This function downloads and decompresses staged RF1 data. See: https://water.usgs.gov/GIS/metadata/usgswrd/XML/erf1_2.xml for metadata.

Usage

1
2
3
4
5
download_rf1(
  outdir,
  url = "https://water.usgs.gov/GIS/dsdl/erf1_2.e00.gz",
  progress = TRUE
)

Arguments

outdir

The folder path where data should be downloaded and extracted

url

the location of the online resource

progress

boolean display download progress?

Value

character path to the local e00 file

Examples

1
2
3
4
## Not run: 
  download_wbd("./data/rf1/")

## End(Not run)

nhdplusTools documentation built on Aug. 18, 2021, 5:07 p.m.