download_rf1: Download the seamless Reach File (RF1) Database

View source: R/downloading_tools.R

download_rf1R Documentation

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
)

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

## Not run: 
  download_wbd("./data/rf1/")

## End(Not run)

nhdplusTools documentation built on Dec. 7, 2022, 5:15 p.m.