nhd_get: Download and cache NHD data by state

View source: R/get.R

nhd_getR 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)

nhdR documentation built on Aug. 12, 2023, 9:06 a.m.