Download and crop data from a zipped HUC4 subregion of the National Hydrography Dataset.

Share:

Description

get_nhd_subregion returns a list of SpatialPolygonsDataFrames of the layers of the HUC4 subregion, within the specified template. If template is not provided, returns the entire HUC4 subregion.

Usage

1
get_nhd_subregion(template = NULL, area, raw.dir)

Arguments

template

A Raster* or Spatial* object to serve as a template for cropping.

area

A 4-character string indicating the HUC4 NHD subregion to download and crop.

raw.dir

A character string indicating where raw downloaded files should be put. The directory will be created if missing.

Value

A SpatialPolygonsDataFrame of the HUC4 regions within the specified template.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.