Skip to content


Repository files navigation


OpenSAFELY COVID-19 Vaccine Coverage Report

This is the code and configuration for our vaccine reports, summarised as "Paper 1" here and on MedRxiv here.

About this code and other related work

You can sign up for the OpenSAFELY email newsletter here for updates about the COVID-19 vaccine reports and other OpenSAFELY projects.

How to use

  • If you are interested in how we defined our variables, take a look at the study definition; this is written in python, but non-programmers should be able to understand what is going on there.
  • We have made .csv files available here in the machine readable outputs folder with the data behind the tables and charts for inspection, further analysis and re-use by anyone as long as is credited and/or linked to.
  • If you are interested in how we defined our code lists, look in the codelists folder. All codelists are available online at OpenCodelists for inspection and re-use by anyone
    • Jupyter notebooks prepared to generate tables and graphs are in /notebooks. If notebooks do not load you can paste the link in Please note these contain dummy data. See released outputs folder for outputs.
  • Developers and epidemiologists interested in the framework should review the OpenSAFELY documentation

About the OpenSAFELY framework

The OpenSAFELY framework is a secure analytics platform for electronic health records research in the NHS.

Instead of requesting access for slices of patient data and transporting them elsewhere for analysis, the framework supports developing analytics against dummy data, and then running against the real data within the same infrastructure that the data is stored. Read more at