% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/audit-argic-films.R
\name{audit_argic_strong_films}
\alias{audit_argic_strong_films}
\title{Audit the strong-clay-films exclusion across a list of pedons}
\usage{
audit_argic_strong_films(pedons, reference_filter = NULL)
}
\arguments{
\item{pedons}{List of \code{\link{PedonRecord}} objects.}

\item{reference_filter}{Optional regex applied to
\code{p$site$reference_sibcs} to keep only pedons whose
reference matches (case-sensitive, ICU). Default \code{NULL}
keeps every pedon.}
}
\value{
A \code{data.frame} with columns
       \code{id}, \code{reference_sibcs},
       \code{argic_passed},
       \code{has_films_at_argic},
       \code{strong_films_at_argic},
       and \code{would_exclude_from_latossolo}.
}
\description{
Applies \code{\link{argic_with_strong_clay_films}()} to every
pedon in \code{pedons} and returns a per-pedon table summarising
how the v0.9.61 \code{B_latossolico()} latossolic-vs-argic rule
resolves on the benchmark sample.
}
\details{
Useful for empirical validation of the SiBCS Cap 18 precedence
rule on field-described datasets such as BDsolos and Redape, where
clay-film qualifiers are recorded in mixed Portuguese / English
tokenisation. The audit is read-only and never invokes
\code{\link{classify_sibcs}()}.
}
\examples{
\donttest{
csv_path <- "RJ.csv"
if (file.exists(csv_path)) {
  peds <- load_bdsolos_csv(csv_path)
  a <- audit_argic_strong_films(peds, reference_filter = "LATOSSOLO")
  table(a$would_exclude_from_latossolo)
}
}
}
