
Audit the strong-clay-films exclusion across a list of pedons
Source:R/audit-argic-films.R
audit_argic_strong_films.RdApplies argic_with_strong_clay_films() to every
pedon in pedons and returns a per-pedon table summarising
how the v0.9.61 B_latossolico() latossolic-vs-argic rule
resolves on the benchmark sample.
Arguments
- pedons
List of
PedonRecordobjects.- reference_filter
Optional regex applied to
p$site$reference_sibcsto keep only pedons whose reference matches (case-sensitive, ICU). DefaultNULLkeeps every pedon.
Value
A data.frame with columns
id, reference_sibcs,
argic_passed,
has_films_at_argic,
strong_films_at_argic,
and would_exclude_from_latossolo.
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
classify_sibcs().
Examples
if (FALSE) { # \dontrun{
peds <- load_bdsolos_csv("RJ.csv")
a <- audit_argic_strong_films(peds, reference_filter = "LATOSSOLO")
table(a$would_exclude_from_latossolo)
} # }