Learn R Programming

soilDB (version 2.3)

siblings: Lookup siblings and cousins for a given soil series.

Description

Lookup siblings and cousins for a given soil series, from the current fiscal year SSURGO snapshot via SoilWeb.

Usage

siblings(s, component.data = FALSE, cousins = FALSE)

Arguments

s

character vector, the name of a single soil series, case-insensitive.

component.data

logical, should component data for siblings (and optionally cousins) be returned?

cousins

logical, should siblings-of-siblings (cousins) be returned?

Value

sib

data.frame containing siblings and number of co-occurrences

sib.data

data.frame containing sibling component data

cousins

data.frame containing cousins and number of co-occurrences

cousin.data

data.frame containing cousin component data

Details

The siblings of any given soil series are defined as those soil series that share a parent map unit. Cousins are siblings of siblings. Data are sourced from SoilWeb which maintains a copy of the current SSURGO snapshot.

References

soilDB Soil Series Query Functionality

Related tutorial.

See Also

OSDquery, siblings, fetchOSD

Examples

Run this code
# NOT RUN {
x <- siblings('zook')
str(x, 1)
# }

Run the code above in your browser using DataLab