Learn R Programming

nhdplusTools (version 0.3.16)

download_rf1: Download the seamless Reach File (RF1) Database

Description

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

Usage

download_rf1(outdir, url = "https://water.usgs.gov/GIS/dsdl/erf1_2.e00.gz")

Arguments

outdir

The folder path where data should be downloaded and extracted

url

the location of the online resource

Value

the path to the local e00 file

Examples

Run this code
# NOT RUN {
  download_wbd("./data/rf1/")
# }

Run the code above in your browser using DataLab