Check a taxa.json against the release it was built from
Source: R/catalog_taxa.R
check_taxa_catalog.RdOne row per check with an ok flag, so a release chunk can print the table
whether or not it passes. The counts are re-measured against obs_bio when
con is given (the release's own connection, or a promoted release read back);
without it the arithmetic that lives inside the record is still checked.
Arguments
- record
from
build_taxa_catalog()(or ataxa.jsonpath or URL)- con
a DBI connection holding
taxonandobs_bio; NULL to check only what the record can prove about itself- dataset_record
the
datasets.jsonrecord (or its path) whosedatasets[]everydataset_keymust appear in; NULL to skip that check
Value
A tibble: check, level, ok, expected,
observed, detail.