clinCompare: Dataset Comparison with 'CDISC' Validation for Clinical Trial
Data
A general-purpose toolkit for comparing any two data frames
with optional 'CDISC' (Clinical Data Interchange Standards Consortium)
validation for clinical trial data. Core comparison functions work on
arbitrary datasets: variable-level and observation-level comparison, data
type checking, metadata attribute analysis (types, labels, lengths,
formats), missing value handling, key-based row matching, tolerance-based
numeric comparisons, and group-wise comparisons. Optional z-score
outlier detection is available when enabled. When working with clinical
data, the package additionally
validates 'SDTM' (Study Data Tabulation Model) and 'ADaM' (Analysis Data
Model) datasets against CDISC standards (SDTM IG 3.3/3.4, ADaM IG
1.1/1.2/1.3), automatically detecting domains and flagging non-conformant
variables. Generates unified comparison reports in text or HTML format
with interactive dashboards. For CDISC standards, see
<https://www.cdisc.org/standards>.
| Version: |
1.0.0 |
| Depends: |
R (≥ 3.5.0) |
| Imports: |
dplyr (≥ 1.0.0), haven (≥ 2.0.0), rlang (≥ 0.4.0), tidyr (≥ 1.0.0), methods, stats, tools, utils |
| Suggests: |
ggplot2 (≥ 3.0.0), openxlsx (≥ 4.0.0), testthat (≥ 3.0.0), knitr, rmarkdown |
| Published: |
2026-02-18 |
| DOI: |
10.32614/CRAN.package.clinCompare (may not be active yet) |
| Author: |
Siddharth Lokineni [aut, cre] |
| Maintainer: |
Siddharth Lokineni <sidhu871 at gmail.com> |
| BugReports: |
https://github.com/siddharthlokineni/clinCompare/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/siddharthlokineni/clinCompare |
| NeedsCompilation: |
no |
| CRAN checks: |
clinCompare results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=clinCompare
to link to this page.