download_nhd_subregion: Download a zipped NHD HUC4 subregion.
Description
HUC4 subregion are specified by a unique character string, best obtained using the get_huc4 function.
download_nhd_subregion returns the path to the downloaded zip file.
Usage
download_nhd_subregion(area, res, raw.dir)
Arguments
area
A 4-character string indicating the HUC4 NHD subregion to download.
res
A character string defining the resolution of the NHD to download.
Either "medium" (the default), or "high".
raw.dir
A character string indicating where raw downloaded files should be put.
The directory will be created if missing.
Value
A character string representing the full local path of the downloaded zip file.