soilGoMZ: Import & process STATGO or SSURGO data

Description Usage Arguments Value Author(s)

View source: R/soilGoMZ.R

Description

STATSGO and SSURGO are soil survey database for the Unites States

Usage

1
soilGoMZ(zipdat, dpfrom=0, dpto=15, props=c("om_r", "claytotal_h"), sp=FALSE, tofile=TRUE, overwrite=FALSE, unzip='internal', verbose=TRUE, ... ) 

Arguments

zipdat

A .zip file with a multiple SSURGO/STATSGO data sets (each in a zip file themselves)

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)

tofile

save results to a file?

overwrite

Logical

unzip

unzip method to be used. See unzip. On windows, the default value needs to be changed for very large files

verbose

verbose feedback

...

nada

Value

data.frame, SpatialPolygonsDataFrame, or RasterBrick

Author(s)

Robert J Hijmans


soils documentation built on May 2, 2019, 6:35 p.m.