
Resolve WRB 2022 qualifiers for a Reference Soil Group
Source:R/qualifiers-wrb2022.R
resolve_wrb_qualifiers.RdWalks the YAML qualifier list for a given RSG code and tests every principal / supplementary qualifier against the pedon. Returns the resolved canonical name pieces (principal + supplementary) plus a per-qualifier trace.
Arguments
- pedon
A
PedonRecord.- rsg_code
Two-letter RSG code (e.g.
"FR"for Ferralsols).- rules
Optional pre-loaded rules list (saves I/O when many RSGs are tested).
- specifiers
If
TRUE, auto-attach WRB Ch 5 depth specifiers (Epi-/Endo-/Bathy-/Amphi-/Panto-/Kato-) to depth-anchored qualifiers based on the feature's actual depth. DefaultFALSEleaves names byte-identical to earlier versions.