nhd_plus_get: Download and cache NHDplus data by vector processing unit

Description Usage Arguments Value Examples

View source: R/get.R

Description

Download and cache NHDplus data by vector processing unit

Usage

1
2
3
4
5
6
7
nhd_plus_get(
  vpu = NA,
  component = "NHDSnapshot",
  force_dl = FALSE,
  force_unzip = FALSE,
  temporary = TRUE
)

Arguments

vpu

numeric vector processing unit

component

character component name

force_dl

logical force a re-download of the requested data

force_unzip

logical force an unzip of downloaded data

temporary

logical set FALSE to save data to a persistent rappdirs location

Value

An invisible list of file paths to NHDplus data for the specified vpu

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# Spatial
nhd_plus_get(vpu = 4)
nhd_plus_get(vpu = "10L")
nhd_plus_get(vpu = 1, component = "NHDPlusAttributes")

# Non-spatial
nhd_plus_get(vpu = "National", component = "V1_To_V2_Crosswalk")
nhd_plus_get(vpu = 4, component = "EROMExtension")

## End(Not run)

nhdR documentation built on July 17, 2021, 5:06 p.m.