% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spatial-soilgrids.R
\name{soilgrids_wrb_lut}
\alias{soilgrids_wrb_lut}
\title{SoilGrids -> WRB code lookup table}
\usage{
soilgrids_wrb_lut()
}
\value{
Named character vector: names are integer-as-character
        (\code{"1"}, \code{"2"}, ...), values are RSG codes.
}
\description{
Maps the integer raster values used by the SoilGrids 2.0
"MostProbable WRB" layer to soilKey's two-letter RSG codes (the
codes used in \code{inst/rules/wrb2022/key.yaml}).
}
\details{
The numeric values follow the order used by ISRIC; users with a
different convention can override this via the \code{lut} argument
to \code{\link{spatial_prior_soilgrids}}.
}
