% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/redape.R
\name{load_redape_pedons}
\alias{load_redape_pedons}
\title{Load curated soil profiles from the Embrapa Redape GeoTab dataset}
\usage{
load_redape_pedons(json_dir, max_n = NULL, verbose = TRUE)
}
\arguments{
\item{json_dir}{Directory containing the GeoTab JSON files (or a
character vector of file paths).}

\item{max_n}{If non-\code{NULL}, take a random sample of this size.}

\item{verbose}{Print progress (default \code{TRUE}).}
}
\value{
A list of \code{\link{PedonRecord}} objects.
}
\description{
Reads the structured JSON files (one profile per file) published
by Vaz et al. 2023 at the Embrapa Redape repository (DOI
\code{10.48432/PYKKA7}) and converts each one to a soilKey
\code{\link{PedonRecord}}.
}
\details{
The dataset is unique in two ways:
\itemize{
  \item Every profile was hand-reviewed by experienced pedologists
        (the curation note and author list are preserved on each
        pedon site record), so it is suitable as a gold-standard
        benchmark.
  \item Unlike BDsolos, all profiles ship the full exchange complex
        (Ca, Mg, K, Na, Al \emph{and H}), so \code{cec_cmol}
        (Valor T = S + H + Al) is computed directly without any
        fallback option.
}
}
\section{Reference}{

  Vaz, G. J., Silva Jr, A. F., & Silva Neto, L. de F. da (2023).
  Brazilian soil data for taxonomic classification. Redape, V1.
  \doi{10.48432/PYKKA7}.
}

\seealso{
\code{\link{download_redape_dataset}},
  \code{\link{benchmark_redape}}.
}
