Example repositories
This page signposts a handful of healthcare projects that include automated tests across different focuses, data types, and analysis techniques.
They are provided to give you inspiration and ideas for what you might want to test in your research projects.
Python examples
Analysis: SimPy discrete-event simulation models (nurse visit simulation and stroke capacity planning).
Tests: pytest
Authors: Amy Heather and Tom Monks
Analysis: Demand model for the New Hospital Programme (NHP).
Tests: pytest
Authors: The Strategy Unit
R examples
Analysis: Simmer discrete-event simulation models (nurse visit simulation and stroke capacity planning).
Tests: testthat
Authors: Amy Heather and Tom Monks
Analysis: Shiny dashboard visualising and analysing patient experience data from the NHS England Friends and Family Test.
Tests: testthat
Authors: The Strategy Unit
Analysis: Implements the waiting list management approach described in Fong et al.
Tests: testthat
Authors: Methodology presented by Neil Walton, and package contributed to by members of the NHS-R Community.
Analysis: Yearly summaries of clinical code usage in England.
Tests: testthat
Authors: Arina Anna Tamborska, Rose Higgins, Yamina Boukari, Viveck Kingsley, Lola Ojedele, Kunle Oreagba, Jon Massey, Andrea Schaffer, Amelia Green, William Hulme, Brian MacKenna, Helen J Curtis, Louis Fisher, Milan Wiedemann.