% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/benchmark-kssl-gpkg.R
\name{normalise_kssl_subgroup}
\alias{normalise_kssl_subgroup}
\title{Normalise KSSL USDA subgroup labels for benchmark comparison}
\usage{
normalise_kssl_subgroup(x)
}
\arguments{
\item{x}{Character vector of KSSL subgroup names.}
}
\value{
Lowercase, single-space-separated vector.
}
\description{
KSSL stores `samp_taxsubgrp` in lower-case, space-separated form
("typic hapludalfs", "aquic argiudolls"). soilKey's
`classify_usda()` returns Title Case names ("Typic Hapludalfs").
The benchmark runner at `level = "subgroup"` lowercases both
sides and trims whitespace, but this helper makes the
normalisation explicit when users want to compare KSSL labels
against arbitrary classifier output. Idempotent.
}
