Learn R Programming

soilDB (version 1.7)

fetchOSD: Fetch Official Series Description (OSD) Data

Description

This functions fetches a limited subset of horizon and site-level attributes for named soil series, from the SoilWeb system.

Usage

fetchOSD(soils)

Arguments

soils
a character vector of named soil series

Value

  • a SoilProfileCollection object

Details

the search is case-insensitive

References

http://www.nrcs.usda.gov/wps/portal/nrcs/site/soils/home/

Examples

Run this code
# soils of interest
s.list <- c('musick', 'cecil', 'drummer', 'amador', 'pentz', 
'reiff', 'san joaquin', 'montpellier', 'grangeville', 'pollasky', 'ramona')

# fetch and convert data into an SPC
s <- fetchOSD(s.list)

# plot profiles
par(mar=c(0,0,0,0))
plot(s, name='hzname', cex.names=0.85, axis.line.offset=-4)

Run the code above in your browser using DataLab