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 32 8

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

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

    HTML 10 6

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

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

    Stata 4 1

  4. research-template research-template Public template

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

    Python 16 13

  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 284 repositories
  • opensafely/disease_incidence’s past year of commit activity
    Stata 0 MIT 0 0 0 Updated Dec 11, 2024
  • opensafely/post-covid-respiratory’s past year of commit activity
    Python 1 MIT 0 3 2 Updated Dec 11, 2024
  • ehrql-tutorial Public

    A repo for the ehrQL tutorial

    opensafely/ehrql-tutorial’s past year of commit activity
    Python 0 MIT 0 3 1 Updated Dec 11, 2024
  • disparities-comparison Public

    Repository for OpenSAFELY project comparing disparities between RSV, Influenza and COVID-19

    opensafely/disparities-comparison’s past year of commit activity
    R 0 MIT 1 1 0 Updated Dec 11, 2024
  • open-pathology Public

    Supporting better diagnostic testing

    opensafely/open-pathology’s past year of commit activity
    Just 0 MIT 0 6 0 Updated Dec 11, 2024
  • opensafely/reusable-variables’s past year of commit activity
    Python 0 MIT 0 0 0 Updated Dec 10, 2024
  • documentation Public

    Documentation for the OpenSAFELY platform

    opensafely/documentation’s past year of commit activity
    Python 35 6 67 8 Updated Dec 10, 2024
  • metformin_covid Public

    Implications of metformin for (Long) COVID

    opensafely/metformin_covid’s past year of commit activity
    Python 0 MIT 0 0 1 Updated Dec 10, 2024
  • tpp-database-import-dates Public

    Queries, transforms, and displays the import dates of the data sources in the OpenSAFELY-TPP database

    opensafely/tpp-database-import-dates’s past year of commit activity
    Python 0 0 0 0 Updated Dec 9, 2024
  • opensafely/pharmacy-first’s past year of commit activity
    Python 0 MIT 0 9 1 Updated Dec 9, 2024