Download and crop the spatial and tabular data for a SSURGO study area.
Source:R/SSURGO_FUNCTIONS.R
get_ssurgo_study_area.Rd
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.
Arguments
- template
An
Simple Feature
orSpatRaster
object to serve as a template for cropping. If missing, whose study area is returned- 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 (
get_ssurgo_inventory
).- raw.dir
A character string indicating where raw downloaded files should be put. The directory will be created if missing.