% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/benchmark-kssl-gpkg.R
\name{load_kssl_pedons_gpkg}
\alias{load_kssl_pedons_gpkg}
\title{Load KSSL / NCSS pedons from the ncss_labdata GeoPackage}
\usage{
load_kssl_pedons_gpkg(
  gpkg,
  head = NULL,
  require_b_horizon = TRUE,
  verbose = TRUE
)
}
\arguments{
\item{gpkg}{Path to \code{ncss_labdata.gpkg}.}

\item{head}{Optional integer; load only the first N classified
pedons. Useful for parser validation.}

\item{require_b_horizon}{If \code{TRUE} (default), drops pedons
whose deepest horizon's bottom_cm < 30. Most non-Entisol
Order gates need a B horizon.}

\item{verbose}{If \code{TRUE} (default), emits progress messages.}
}
\value{
A list of \code{\link{PedonRecord}} objects.
}
\description{
Reads the `lab_combine_nasis_ncss` / `lab_site` / `lab_layer` /
`lab_chemical_properties` / `lab_physical_properties` views from
the NCSS Lab Data Mart GeoPackage and assembles a list of
\code{\link{PedonRecord}} objects. Each pedon has its USDA Soil
Taxonomy Order attached as \code{site$reference_usda}, normalised
to match `classify_usda()` output ("Mollisols", "Alfisols", ...).
}
