FedData (version 2.0.8)

get_huc4: Download and crop a shapefile of the HUC4 regions of the National Hydrography Dataset.

Description

get_huc4 returns a SpatialPolygonsDataFrame of the HUC4 regions within the specified template. If template is not provided, returns the entire HUC4 dataset.

Usage

get_huc4(template = NULL, raw.dir)

Arguments

template
A Raster* or Spatial* object to serve as a template for cropping.
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.