https://github.com/cran/FedData
Raw File
Tip revision: e7952465c2a8026d38c6dd7b03df7c458a87a808 authored by R. Kyle Bocinsky on 12 March 2018, 19:21:35 UTC
version 2.5.2
Tip revision: e795246
get_huc4.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/NHD_FUNCTIONS.R
\name{get_huc4}
\alias{get_huc4}
\title{Download and crop a shapefile of the HUC4 
regions of the National Hydrography Dataset.}
\usage{
get_huc4(template = NULL, raw.dir)
}
\arguments{
\item{template}{A Raster* or Spatial* object to serve 
as a template for cropping.}

\item{raw.dir}{A character string indicating where raw downloaded files should be put.
The directory will be created if missing.}
}
\value{
A \code{SpatialPolygonsDataFrame} of the HUC4 regions within
the specified \code{template}.
}
\description{
\code{get_huc4} returns a \code{SpatialPolygonsDataFrame} of the HUC4 regions within
the specified \code{template}. If template is not provided, returns the entire HUC4 dataset.
}
\keyword{internal}
back to top