% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/qualifiers-wrb2022.R
\name{resolve_wrb_qualifiers}
\alias{resolve_wrb_qualifiers}
\title{Resolve WRB 2022 qualifiers for a Reference Soil Group}
\usage{
resolve_wrb_qualifiers(pedon, rsg_code, rules = NULL, specifiers = FALSE)
}
\arguments{
\item{pedon}{A \code{\link{PedonRecord}}.}

\item{rsg_code}{Two-letter RSG code (e.g. \code{"FR"} for Ferralsols).}

\item{rules}{Optional pre-loaded rules list (saves I/O when many
RSGs are tested).}

\item{specifiers}{If \code{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. Default
\code{FALSE} leaves names byte-identical to earlier versions.}
}
\value{
A list with \code{principal} (character vector),
        \code{supplementary} (character vector), \code{trace}, and
        \code{trace_supplementary}.
}
\description{
Walks 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.
}
