
Normalise KSSL USDA subgroup labels for benchmark comparison
Source:R/benchmark-kssl-gpkg.R
normalise_kssl_subgroup.RdKSSL 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.