View source: R/submission_readiness.R
| submission_readiness | R Documentation |
A single entry point that harvests evidence from metadata and one or more ADaM datasets and, when 'r4subscore' is available, computes the Submission Confidence Index (SCI) in one call. It is the fastest way to go from a 'pharmaverse' pipeline to a readiness score.
submission_readiness(data, metadata, ctx, config = NULL)
data |
A named list of ADaM data.frames (names are dataset identifiers,
e.g. |
metadata |
A |
ctx |
An r4subcore::r4sub_run_context providing run and study identifiers. |
config |
An optional |
An object of class "submission_readiness": a list with evidence
(the combined evidence data.frame), pillar_scores, and sci (an
sci_result, or NULL if 'r4subscore' is not installed).
metacore_to_evidence(), adam_to_evidence()
# Score the CDISC pilot ADSL against the ADaM metadata in r4subdata.
ctx <- suppressMessages(r4subcore::r4sub_run_context("CDISCPILOT01", "DEV"))
res <- suppressMessages(submission_readiness(
list(ADSL = pharmaverseadam::adsl),
r4subdata::adam_metadata,
ctx
))
nrow(res$evidence)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.