Learn R Programming

soilDB (version 2.6.9)

get_SDA_pmgroupname: Get map unit parent material group information from Soil Data Access

Description

Get map unit parent material group information from Soil Data Access

Usage

get_SDA_pmgroupname(
  areasymbols = NULL,
  mukeys = NULL,
  method = "DOMINANT COMPONENT",
  simplify = TRUE,
  query_string = FALSE
)

Arguments

areasymbols

vector of soil survey area symbols

mukeys

vector of map unit keys

method

One of: "Dominant Component", "Dominant Condition", "None"

simplify

logical; group into generalized parent material groups? Default TRUE

query_string

Default: FALSE; if TRUE return a character string containing query that would be sent to SDA via SDA_query

Value

a data.frame

Details

Default method is "Dominant Component" to get the dominant component (highest percentage). Use "Dominant Condition" or dominant parent material condition (similar conditions aggregated across components). Use "None" for no aggregation (one record per component).