Skip to content
@opensafely

OpenSAFELY

Studies from the OpenSAFELY collaborative. The framework code itself is over at https://github.com/opensafely-core

Research conducted using the OpenSAFELY Platform

Welcome to the OpenSAFELY GitHub page. This site is where to find all code for research conducted using the OpenSAFELY platform.

If you're looking for code used to build the OpenSAFELY platform, visit our OpenSAFELY Core GitHub page.

The list of all approved projects run on the platform is available here.

To find out more, visit our website and documentation.

Contributing

If you would like to contribute to an existing OpenSAFELY research project, we suggest getting in touch with the project leads.

Pinned Loading

  1. risk-factors-research risk-factors-research Public

    This is the code and configuration for our paper, OpenSAFELY: factors associated with COVID-19-related hospital death in the linked electronic health records of 17 million adult NHS patients

    Stata 33 9

  2. nhs-covid-vaccination-coverage nhs-covid-vaccination-coverage Public

    https://opensafely.org/research/2021/covid-vaccine-coverage/

    HTML 11 6

  3. ethnicity-covid-research ethnicity-covid-research Public

    Study to examine the relationship between ethnicity and adverse covid outcomes in England

    Stata 5 1

  4. research-template research-template Public template

    The template for new research projects that use the OpenSAFELY framework.

    Python 20 18

  5. long-covid long-covid Public

    Clinical coding of long COVID in English primary care

    HTML 4 1

  6. post-covid-outcomes-research post-covid-outcomes-research Public

    Rates of serious clinical outcomes in survivors of hospitalisation with COVID-19: a descriptive cohort study within the OpenSAFELY platform

    Stata 3

Repositories

Showing 10 of 340 repositories
  • risk-matrix Public
    opensafely/risk-matrix's past year of commit activity
    R 0 MIT 0 1 0 Updated Dec 4, 2026
  • opensafely/NICE001-osteo-mta's past year of commit activity
    Python 0 MIT 0 0 0 Updated Dec 4, 2026
  • reduce-wp1 Public
    opensafely/reduce-wp1's past year of commit activity
    R 0 MIT 0 1 0 Updated Dec 4, 2026
  • raw_medicines_short_data_report Public

    This repository was created for a short data report on medicines data from the `raw.tpp` schema to determine the quality and usability of repeat medications and quantity data

    opensafely/raw_medicines_short_data_report's past year of commit activity
    Python 0 MIT 1 0 0 Updated Dec 4, 2026
  • COMPARES-vaccines-Autumn-2024 Public Forked from opensafely/COMPARES-vaccines

    COMPARES-vaccines: COMmon Protocol for the Analysis of Relative Effectiveness and Safety - of Covid-19 vaccine products

    opensafely/COMPARES-vaccines-Autumn-2024's past year of commit activity
    R 0 MIT 1 0 1 Updated Dec 4, 2026
  • post-covid-neurodegenerative Public

    Post-COVID infection events and neurodegenerative diseases.

    opensafely/post-covid-neurodegenerative's past year of commit activity
    Stata 5 MIT 0 3 1 Updated Dec 4, 2026
  • documentation Public

    Documentation for the OpenSAFELY platform

    opensafely/documentation's past year of commit activity
    Python 48 10 67 4 Updated Dec 4, 2026
  • opensafely/WinterPressuresDescriptive's past year of commit activity
    R 0 MIT 0 7 2 Updated Dec 4, 2026
  • opensafely/shingrix-dementia's past year of commit activity
    R 0 MIT 0 0 1 Updated Dec 4, 2026
  • opensafely/ckd-deprescribing's past year of commit activity
    Python 0 MIT 1 0 2 Updated Dec 4, 2026