soilGo: import & process STATGO or SSURGO data

Description Usage Arguments Value Author(s)

View source: R/soilGo.R

Description

STATSGO and SSURGO are soil survey database for the Unites States

Usage

1
soilGo(dat, dpfrom=0, dpto=15, props=c("om_r", "claytotal_h"), sp=TRUE, raster=FALSE, filename='', overwrite=FALSE,  verbose=TRUE, ... ) 

Arguments

dat

Either a .zip file or an access database (mdb) file with a single SSURGO/STATSGO data set

dpfrom

upper soil depth over which to average the values

dpto

lower soil depth over which to average the values

props

soil proporties requested

sp

Logical. Should values be returned as a SpatialPolygonsDataFrame (and should a shapefile be written, if a filename is supplied)

raster

RasterLayer with MUKEY values. If sp=FALSE, a RasterBrick will be returned

filename

filename

overwrite

overwrite existing files?

verbose

verbose feedback

...

nada

Value

data.frame, SpatialPolygonsDataFrame, or RasterBrick

Author(s)

Robert J Hijmans


soils documentation built on May 21, 2017, 3:56 a.m.

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.