download_wbd: Download the seamless Watershed Boundary Dataset (WBD)

Description Usage Arguments Value Examples

View source: R/downloading_tools.R

Description

This function downloads and decompresses staged seamless WBD data. Please see: https://prd-tnm.s3.amazonaws.com/StagedProducts/Hydrography/WBD/National/GDB/WBD_National_GDB.xml for metadata.

Usage

1
2
3
4
5
6
download_wbd(
  outdir,
  url = paste0("https://prd-tnm.s3.amazonaws.com/StagedProducts/",
    "Hydrography/WBD/National/GDB/WBD_National_GDB.zip"),
  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 geodatabase

Examples

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

## End(Not run)

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