View source: R/accu_integrity.R
| cer_accu_aggregate | R Documentation |
Takes an ato_tbl or data frame of ACCU project records (from
cer_accu_projects()), joins the method integrity scorecard,
and aggregates by integrity tier. Emits a warning if contested
or under-review methods contribute materially to the total so
the analyst cannot silently aggregate them into a single
headline figure.
cer_accu_aggregate(x, value_col = NULL, warn_contested_pct = 0.05)
x |
A |
value_col |
Column to sum. Default |
warn_contested_pct |
Warn if the contested tier exceeds
this share of the total. Default |
A data frame with one row per integrity tier and
columns integrity_tier, projects, <value_col>_sum and
share_pct. Register methods are assigned to a tier through the
scorecard's register_pattern; methods it does not cover are
"unclassified".
Other accu:
cer_accu_contracts(),
cer_accu_issuances(),
cer_accu_methods(),
cer_accu_projects(),
cer_accu_relinquishments(),
cer_method_determination(),
cer_method_integrity()
op <- options(cer.cache_dir = tempdir())
try({
p <- cer_accu_projects()
cer_accu_aggregate(p)
})
options(op)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.