nhd_get {nhdR}R Documentation

Download and cache NHD data by state

Description

Download and cache NHD data by state

Usage

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

## Not run: 
nhd_get(state = c("DC"))
nhd_get(state = c("RI", "CT"))

## End(Not run)

[Package nhdR version 0.6.1 Index]