get_ssurgo_study_area: Download and crop the spatial and tabular data for a SSURGO...

Description Usage Arguments Value

View source: R/SSURGO_FUNCTIONS.R

Description

get_ssurgo_study_area returns a named list of length 2:

  1. 'spatial': A SpatialPolygonsDataFrame of soil mapunits in the template, and

  2. 'tabular': A named list of data.frames with the SSURGO tabular data.

Usage

1
get_ssurgo_study_area(template = NULL, area, date, raw.dir)

Arguments

template

A Raster* or Spatial* 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.

Value

A SpatialPolygonsDataFrame of the SSURGO study areas within the specified template.


FedData documentation built on May 30, 2017, 7:56 a.m.

Search within the FedData package
Search all R packages, documentation and source code