Learn R Programming

nhdplusTools (version 1.3.2)

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",
  progress = TRUE
)

Value

character path to the local e00 file

Arguments

outdir

The folder path where data should be downloaded and extracted

url

the location of the online resource

progress

boolean display download progress?

Examples

Run this code
if (FALSE) {
  download_wbd("./data/rf1/")
}

Run the code above in your browser using DataLab