Details of the purpose and any published outputs from this project can be found at the link above.
The contents of this repository MUST NOT be considered an accurate or valid representation of the study or its purpose. This repository may reflect an incomplete or incorrect analysis with no further ongoing work. The content has ONLY been made public to support the OpenSAFELY open science and transparency principles and to support the sharing of re-usable code for other subsequent users. No clinical, policy or safety conclusions must be drawn from the contents of this repository.
The OpenSAFELY framework is a Trusted Research Environment (TRE) for electronic health records research in the NHS, with a focus on public accountability and research quality.
Read more at OpenSAFELY.org.
As standard, research projects have a MIT license.
Please use the following pattern to add a new vaccine or set of variables:
- Choose a meaningful identifying
{NAME}for your vaccine, and use this name consistently. - Create a new working branch from
main. - Create a dataset definition
./analysis/{NAME}/{NAME}_dataset_definition.pyin the./analysis/directory. This dataset definition will contain the new vaccine. You may wish to add further scripts to the./analysis/{NAME}/directory that define additional functions or other code snippets. - Any new codelists will need to be added directly to the
./codelists/codelist.txt- specifying codelists in the variable-specific directories does not work neatly with theopensafely codelists updateoperation. You can also add the codelists to./analysis/codelists.py. Use a large separator, as below, to clearly distinguish the groups of codelists that belong to each vaccine.####################################################### # {NAME} ####################################################### - Add the new actions to
./project.yamlfile, using names such asextract_{NAME}, for the dataset definition and any additional reporting actions (e.g.report_data_quality_{NAME}). Use a clear, large separator like the one below to visually distinguish the groups of actions for each vaccine.####################################################### # {NAME} ####################################################### - Check everything works as intended, then submit a PR for review.