fetchKSSL: Fetch KSSL Data (EXPERIMENTAL)

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

Get KSSL data via BBOX, MLRA, or series name query, from the SoilWeb system.

Usage

1
2
fetchKSSL(series=NULL, bbox=NULL, mlra=NULL, pedlabsampnum=NULL, 
pedon_id=NULL, pedon_key=NULL)

Arguments

series

a soil series name, case insensitive

bbox

a bounding box in WGS84 geographic coordinates e.g. c(-120, 37, -122, 38)

mlra

an MLRA ID

pedlabsampnum

KSSL pedon lab sample number

pedon_id

user pedon ID

pedon_key

KSSL internal pedon ID

Details

This is an experimental interface to most of the KSSL data as of June 2015. Series-queries are case insensitive. Series name is based on the "correlated as" field (from KSSL snapshot) when present. The "sampled as" classification was promoted to "correlated as" if the "correlated as" classification was missing.

Value

a SoilProfileCollection object

Note

SoilWeb maintains a snapshot of the KSSL data. The SoilWeb snapshot was developed using methods described here: https://github.com/dylanbeaudette/process-kssl-snapshot. Please use the link below for the live data.

Author(s)

D.E. Beaudette

References

http://ncsslabdatamart.sc.egov.usda.gov/

See Also

fetchOSD

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
# search by series name
s <- fetchKSSL(series='auburn')

# search by bounding-box
# s <- fetchKSSL(bbox=c(-120, 37, -122, 38))

# how many pedons
length(s)

# plot 
par(mar=c(0,0,0,0))
plot(s, name='hzn_desgn', max.depth=150)

## End(Not run)

soilDB documentation built on May 2, 2019, 5:17 p.m.