Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_SDA_property

Get map unit properties from Soil Data Access


Description

Get map unit properties from Soil Data Access

Usage

get_SDA_property(
  property,
  method,
  areasymbols = NULL,
  mukeys = NULL,
  top_depth = NULL,
  bottom_depth = NULL,
  FUN = NULL
)

Arguments

property

a label or column name from property dictionary

method

one of: "Dominant Component (Category)", "Weighted Average", "Min/Max", "Dominant Component (Numeric)", "Dominant Condition"#'

areasymbols

vector of soil survey area symbols

mukeys

vector of map unit keys

top_depth

Optional: a numeric value for upper boundary (top depth) used for method="weighted average" and "dominant component (numeric)"

bottom_depth

Optional: a numeric value for lower boundary (bottom depth) used for method="weighted average and "dominant component (numeric)"

FUN

Optional: character representing SQL aggregation function either "MIN" or "MAX" for method="min/max"

Value

a data.frame with result

Author(s)

Jason Nemecek, Chad Ferguson, Andrew Brown


soilDB

Soil Database Interface

v2.6.1
GPL (>= 3)
Authors
Dylan Beaudette [aut], Jay Skovlin [aut], Stephen Roecker [aut], Andrew Brown [aut, cre]
Initial release
2021-04-7

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.