% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/usda-wrb-crosswalk.R
\name{annotate_wrb_from_usda}
\alias{annotate_wrb_from_usda}
\title{Annotate KSSL/NASIS pedons with a derived WRB Reference Soil Group}
\usage{
annotate_wrb_from_usda(pedons)
}
\arguments{
\item{pedons}{List of \code{\link{PedonRecord}} objects.}
}
\value{
The same list, with \code{site$reference_wrb_from_usda}
  populated where USDA classification is present.
}
\description{
Applies \code{\link{usda_to_wrb_rsg}} to each pedon's USDA
classification (preserved as \code{site$reference_usda} +
\code{site$reference_usda_suborder} by
\code{\link{load_kssl_pedons_gpkg}}) and writes the result to
\code{site$reference_wrb_from_usda} -- a "best-guess" expected WRB
label for benchmark comparison.
}
\details{
Pedons that already have \code{site$reference_wrb} populated (e.g.\
from external sources) are left untouched.
}
