get_ssurgo_study_area {FedData} | R Documentation |
Download and crop the spatial and tabular data for a SSURGO study area.
Description
get_ssurgo_study_area
returns a named list of length 2:
'spatial': A
Simple Feature
of soil mapunits in the template, and'tabular': A named list of
data.frames
with the SSURGO tabular data.
Usage
get_ssurgo_study_area(template = NULL, area, date, raw.dir)
Arguments
template |
An |
area |
A character string indicating the SSURGO study area to be downloaded. |
date |
A character string indicating the date of the most recent update to the SSURGO
area for these data. This information may be gleaned from the SSURGO Inventory ( |
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 SSURGO study areas within
the specified template
.