Package: rwevalidate 0.1.2
rwevalidate: Validate Patient Cohorts for Real-World Evidence Studies on the OMOP Common Data Model
Validates instantiated patient cohorts on an Observational Medical Outcomes Partnership (OMOP) Common Data Model (CDM) database for real-world-evidence (RWE) studies. From a single function call it produces a structured validation report in Hypertext Markup Language (HTML) and JavaScript Object Notation (JSON) covering concept coverage, cohort attrition, temporal data density, and covariate feasibility against a comparator. The checks are aligned with the United States Food and Drug Administration (FDA) guidance on real-world data and evidence, FDA (2023) <https://www.fda.gov/media/171667/download>, the Harmonized Protocol Template to Enhance Reproducibility (HARPER), Wang and others (2022) <doi:10.1002/pds.5507>, and the Reporting of Studies Conducted Using Observational Routinely-Collected Data for Pharmacoepidemiology (RECORD-PE) statement, Langan and others (2018) <doi:10.1136/bmj.k3532>. A self-contained example database is bundled so the checks can be run without a live database connection.
Authors:
rwevalidate_0.1.2.tar.gz
rwevalidate_0.1.2.zip(r-4.7-any)rwevalidate_0.1.2.zip(r-4.6-any)rwevalidate_0.1.2.zip(r-4.5-any)
rwevalidate_0.1.2.tgz(r-4.6-any)rwevalidate_0.1.2.tgz(r-4.5-any)
rwevalidate_0.1.2.tar.gz(r-4.7-any)rwevalidate_0.1.2.tar.gz(r-4.6-any)
rwevalidate_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rwevalidate/json (API)
| # Install 'rwevalidate' in R: |
| install.packages('rwevalidate', repos = c('https://tavakohr.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tavakohr/rwevalidate/issues
Last updated from:80010f8512. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 152 | ||
| source / vignettes | OK | 189 | ||
| linux-release-x86_64 | OK | 164 | ||
| macos-release-arm64 | OK | 183 | ||
| macos-oldrel-arm64 | OK | 201 | ||
| windows-devel | OK | 117 | ||
| windows-release | OK | 100 | ||
| windows-oldrel | OK | 91 | ||
| wasm-release | OK | 133 |
Exports:build_check_summarycdm_connectcdm_disconnectclassify_statusexample_cdmrender_validation_reportrun_attritionrun_conceptsrun_covariatesrun_densityvalidate_cohortwrite_results_json
Dependencies:base64encbitbit64blobbslibcachemclicpp11DBIdigestevaluatefastmapfontawesomefsgenericsgluehighrhmshtmltoolsjquerylibjsonliteknitrlifecyclelubridatememoisemimepkgconfigR6rappdirsrlangrmarkdownRPostgressasstimechangetinytexvctrswithrxfunyaml
Last update: 2026-07-02
Started: 2026-06-26
Last update: 2026-06-26
Started: 2026-06-26
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Build the traffic-light validation summary table | build_check_summary |
| Connect to an OMOP CDM database | cdm_connect |
| Disconnect from a CDM database | cdm_disconnect |
| Classify a vector of module flags into a traffic-light status | classify_status |
| Create a small in-memory OMOP CDM for examples and demos | example_cdm |
| Render the validation report (HTML) and write the JSON sidecar | render_validation_report |
| Module 2 - Cohort Attrition Audit | run_attrition |
| Module 1 - Concept Coverage | run_concepts |
| Module 4 - Covariate Feasibility | run_covariates |
| Module 3 - Temporal Data Density | run_density |
| Validate a patient cohort for real-world-evidence use | validate_cohort |
| Write the JSON sidecar (no rendering) | write_results_json |
