How DataQualityDashboard evaluates data quality
mainDataQualityDashboard uses a systematic approach based on the Kahn Framework, which organizes checks into categories and contexts.
Instead of individual checks, the tool uses "data quality check types". These are parameterized templates where OMOP tables, fields, and concepts are substituted.
Checks are categorized into three levels:
- Table-level checks: Evaluate tables at a high level (e.g., checking if required tables are present).
- Field-level checks: Evaluate specific fields within a table (e.g., primary key relationships or domain conformity). This is the most common type.
- Concept-level checks: Related to individual concepts (e.g., checking for gender-specific concepts in the wrong gender).
The R package runs these checks against an OMOP CDM instance, evaluates them against configurable thresholds, and produces a JSON object. This JSON object is then read into an RShiny application for visualization.