Skip to content

Harmonised diabetes variables across British birth cohort studies.

CLS-Data/harmonised-diabetes-across-cohorts

Repository files navigation

Harmonised diabetes variables across four CLS cohorts

Centre for Longitudinal Studies


Overview

  • This repository provides Stata syntax files that harmonise diabetes variables in the NCDS, BCS, Next Steps and MCS in a consistent way to enable cross-cohort comparison.
  • We also provide an overview of all variables related to asthma in these four cohort studies (note that only a few of them were used in the derivation of the harmonised diabetes variables)

Syntax and data availability

  • Source data: Download raw data files from the UK Data Service for all cohorts and all time points and place them in the appropriate macros, e.g. response age5 etc.
  • Syntax: update 'inputpath' and 'inputpath2' according to where you stored raw data for cohort studies
  • Derived dataset: Available to download from the UK Data Service.

User feedback and future plans

We welcome user feedback. Please open an issue on GitHub or email [email protected].

Authors

  • Laura Gimeno, Martina Narayanan, Rebecca Hardy

Licence

Code: MIT Licence (see LICENSE).


© 2025 UCL Centre for Longitudinal Studies

About

Harmonised diabetes variables across British birth cohort studies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages