get_SDA_coecoclass {soilDB} | R Documentation |
Get mapunit ecological sites from Soil Data Access
Description
Get mapunit ecological sites from Soil Data Access
Usage
get_SDA_coecoclass(
method = "None",
areasymbols = NULL,
mukeys = NULL,
WHERE = NULL,
query_string = FALSE,
ecoclasstypename = c("NRCS Rangeland Site", "NRCS Forestland Site"),
ecoclassref = "Ecological Site Description Database",
not_rated_value = "Not assigned",
miscellaneous_areas = TRUE,
include_minors = TRUE,
threshold = 0,
dsn = NULL
)
Arguments
method |
aggregation method. One of: |
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 |
query_string |
Default: |
ecoclasstypename |
Default: |
ecoclassref |
Default: |
not_rated_value |
Default: |
miscellaneous_areas |
logical. Include miscellaneous areas (non-soil components)? |
include_minors |
logical. Include minor components? Default: |
threshold |
integer. Default: |
dsn |
Path to local SQLite database or a DBIConnection object. If |
Details
When method="Dominant Condition"
an additional field ecoclasspct_r
is returned in the result
with the sum of comppct_r
that have the dominant condition ecoclassid
. The component with the greatest
comppct_r
is returned for the component
and coecosite
level information.
Note that if there are multiple coecoclasskey
per ecoclassid
there may be more than one record per component.