import & process STATGO or SSURGO data

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.