Skip to content
@Exeter-Diabetes

Exeter Diabetes Research Team

The official repository hosting all of the Exeter Diabetes' teams scripts, cohorts and relevant documents.

Exeter Diabetes research team Github repositories

This Github organisation contains a number of repositories from members of the Exeter Diabetes research team and collaborators. Many are linked to our ongoing work using CPRD data (Clinical Research Practice Datalink; UK primary care records and linked data). Of particular interest to others using CPRD data for research are the following repositories which are pinned below:

  • CPRD-Codelists: Codelists (medcode, prodcode, HES [ICD10, OPCS4]) which we have developed for use with CPRD Aurum, and the algorithms we use when implementing them to define patient features. Also includes details of how we developed these codelists and the Read and SNOMED codelists produced during medcode list development.
  • CPRD-Cohort-scripts: Details of the pipeline we use to flexibly define different diabetes cohorts (and pull in relevant patient features) from CPRD Aurum.
  • CPRD-analysis-package: The R package (aurum) which we use to create our CPRD MySQL database from the raw data provided by CPRD, and query it from R. It also includes functions for adding codelists to MySQL and using these in queries. This package is used extensively in the scripts in the CPRD-Cohort-scripts repository.
  • EHRBiomarkr: An R package to clean biomarker measurements in CPRD Aurum, and calculate CVD and kidney risk scores.

For a comprehensive guide to accessing CPRD, see https://exeter-diabetes.github.io/CPRD-Tutorial/. A PDF version can be found here.

Pinned Loading

  1. CPRD-Codelists CPRD-Codelists Public

    CPRD Aurum codelists from the Exeter Diabetes team

    20 7

  2. CPRD-Cohort-scripts CPRD-Cohort-scripts Public

    Scripts and info for defining cohorts in CPRD Aurum

    R 10 1

  3. CPRD-analysis-package CPRD-analysis-package Public

    R package for working with CPRD Aurum data on a remote MySQL server

    R 6 2

  4. EHRBiomarkr EHRBiomarkr Public

    R package for cleaning biomarker test results in EHR (especially CPRD Aurum)

    R 3 1

  5. SDRN-Cohort-Scripts SDRN-Cohort-Scripts Public

    Scripts and info for defining cohorts in SDRN

    R

Repositories

Showing 10 of 46 repositories
  • Exeter-Diabetes/CPRD-Katie-DePICtion-paper's past year of commit activity
    R 0 0 0 0 Updated Sep 30, 2026
  • CPRD-Codelists Public

    CPRD Aurum codelists from the Exeter Diabetes team

    Exeter-Diabetes/CPRD-Codelists's past year of commit activity
    20 7 0 0 Updated Sep 25, 2026
  • Exeter-Diabetes/CPRD-Thijs-CKD-cohort's past year of commit activity
    R 1 0 0 0 Updated Sep 24, 2026
  • CPRD-Cohort-scripts Public

    Scripts and info for defining cohorts in CPRD Aurum

    Exeter-Diabetes/CPRD-Cohort-scripts's past year of commit activity
    R 10 1 0 0 Updated Aug 26, 2026
  • sde-sw-framework Public

    Diabetes data assets with the NHS SWSDE

    Exeter-Diabetes/sde-sw-framework's past year of commit activity
    1 0 5 0 Updated Aug 24, 2026
  • Exeter-Diabetes/Pedro-5drugmodel-framework's past year of commit activity
    R 0 GPL-3.0 1 0 0 Updated Jul 21, 2026
  • Trimaster-Omics-Analysis Public

    This repository contains code for analysis proteomics in Trimaster.

    Exeter-Diabetes/Trimaster-Omics-Analysis's past year of commit activity
    R 0 GPL-3.0 0 0 0 Updated Jun 16, 2026
  • CPRD-analysis-package Public

    R package for working with CPRD Aurum data on a remote MySQL server

    Exeter-Diabetes/CPRD-analysis-package's past year of commit activity
    R 6 2 0 0 Updated Jun 12, 2026
  • CPRD-depression-cohort Public

    Main repo for the CPRD Aurum depression cohort

    Exeter-Diabetes/CPRD-depression-cohort's past year of commit activity
    R 0 0 0 0 Updated May 26, 2026
  • T1DvsT2D_atDiagnosis_adults Public

    Data analysis code accompanying paper for the development of a clinical calculator for use at diabetes presentation for the differentiation of type 1 and type 2 diabetes

    Exeter-Diabetes/T1DvsT2D_atDiagnosis_adults's past year of commit activity
    R 0 0 0 0 Updated Apr 27, 2026