nhd_get: Download and cache NHD data by state

Description Usage Arguments Value Examples

View source: R/get.R

Description

Download and cache NHD data by state

Usage

1
nhd_get(state = NA, force_dl = FALSE, force_unzip = FALSE, temporary = TRUE)

Arguments

state

character state abbreviation includes "DC", "PR", and "VI"

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 NHD data for the specified state

Examples

1
2
3
4
5
## Not run: 
nhd_get(state = c("DC"))
nhd_get(state = c("RI", "CT"))

## End(Not run)

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