Get map unit parent material group information from Soil Data Access
Source:R/get_SDA_pmgroupname.R
get_SDA_pmgroupname.Rd
Get map unit parent material group information from Soil Data Access
Usage
get_SDA_pmgroupname(
areasymbols = NULL,
mukeys = NULL,
WHERE = NULL,
method = "DOMINANT COMPONENT",
simplify = TRUE,
miscellaneous_areas = FALSE,
query_string = FALSE,
dsn = NULL
)
Arguments
- areasymbols
vector of soil survey area symbols
- mukeys
vector of map unit keys
- WHERE
character containing SQL WHERE clause specified in terms of fields in
legend
,mapunit
,component
, orcopmgrp
tables, used in lieu ofmukeys
orareasymbols
- method
One of:
"Dominant Component"
,"Dominant Condition"
,"None"
- simplify
logical; group into generalized parent material groups? Default
TRUE
- miscellaneous_areas
Include miscellaneous areas (non-soil components) in results? Default:
FALSE
.- query_string
Default:
FALSE
; ifTRUE
return a character string containing query that would be sent to SDA viaSDA_query
- dsn
Path to local SQLite database or a DBIConnection object. If
NULL
(default) use Soil Data Access API viaSDA_query()
.