Skip to contents

Applies argic_with_strong_clay_films() to every pedon in pedons and returns a per-pedon table summarising how the rule that B_latossolico() applied from v0.9.61 to v0.9.240 resolves on the benchmark sample: a B textural (the WRB argic horizon, then) excluded the B latossolico only when its clay films were common or more.

Usage

audit_argic_strong_films(pedons, reference_filter = NULL)

Arguments

pedons

List of PedonRecord objects.

reference_filter

Optional regex applied to p$site$reference_sibcs to keep only pedons whose reference matches (case-sensitive, ICU). Default NULL keeps 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

Since v0.9.241 the SiBCS key does not use that rule (see B_latossolico); the audit shows what it would have done 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)
} # }