Sources and data preparation
Establish suitable analysis-ready data
A large dataset can still omit the clinical variables or follow-up needed for the question. Review source coverage, linkage and changes in coding before finalizing eligibility and analysis. A recorded absence may mean no capture rather than no disease.
Flow diagram
Steps
Permissions and source access
Document legal basis, data agreements, governance and versioned extracts.
Assess source suitability
Assess coverage, clinical detail, missingness and fitness for each study question.
Link and deduplicate records
Specify linkage keys, linkage error assessment and participant versus episode identifiers.
Check and resolve data quality
Review validity, coding changes, duplicates and temporal consistency.
Derive analysis-ready data
Version code lists and derivations, retaining provenance and transformations.
Review and freeze data version
Record outstanding limitations and reproducible extract/version identifiers.
Sources and data preparation
End flow
Tables and supporting information
Source suitability
Establish source fitness before analysis.
Derivation and quality log
Keep source-to-analysis lineage.
Data evidence
Attach source validation reports, coding definitions or coverage documentation.