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>.

Package details

AuthorSiddharth Lokineni [aut, cre]
MaintainerSiddharth Lokineni <sidhu871@gmail.com>
LicenseMIT + file LICENSE
Version1.0.0
URL https://github.com/siddharthlokineni/clinCompare
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("clinCompare")

Try the clinCompare package in your browser

Any scripts or data that you put into this service are public.

clinCompare documentation built on Feb. 19, 2026, 1:07 a.m.