Skip to content

HFAnalyticsLab/winter_pressures_flu_RSV_COVID

Repository files navigation

Did the NHS experience record pressures this winter?

Project Status: Ongoing

Project Description

Using routinely collected and publicly available data on health service perfromance, we explore how bad this winter and present possible factors that contributing to winter pressures. Our analysis mainly compares this winter (2024/25) with the previous two winters (2022/23 and 2023/24) and, where possible, to the three full winters before the COVID-19 pandemic (2016/17, 2017/18 and 2018/19) or where necessary or appropriate we also looked back to 2010 or during COVID winters. This means that we priorised metrics that alowed us to compare trends, however, this was not always possible or the time series was not always straight forward to construct.

Outputs

  • Health Foundation publication
  • To aid others who may want to construct time series using the urgent and emergency care sit rep data, we have included in this repository an excel sheet that reports the different metrics available for the different years of the urgent and emergency care sit rep data.

Data sources:

This repository only includes code for the charts in the above publication and is not an extensive reference list for the publication.

How does it work?

This repository outlines how to download the data, process, analyse and visualise the data used in the publication. The analysis can be reproduced using the latest data by updating the data source links, updating the data range for some of the sources and creating a 'data' folder within your projects main folder.

It must be noted that we use AWS S3 cloud storage therefore where necessary the code for saving and retrieving files will need to be adapted based on your local storage structure.

Requirements

These scripts were written in R version 4.0.2 and RStudio Workbench Version 1.1.383. The following R packages (available on CRAN) are needed:

  • here
  • curl
  • tidyverse
  • readxl
  • broom
  • lubridate
  • ggplot2
  • ISOweek
  • ggrepel
  • THFstyle

In addition our plots make use of our in house style package THFstyle available here on GitHub.

Getting started

Authors

  • Anne Alarilla - Twitter - GitHub
  • Francesca Cavallaro
  • Melissa Co
  • Hollie Miller

Project team also consisted of Tim Garnder , Josh Keith and Charles Tallack.

License

This project is licensed under the MIT License.

Acknowledgements

Code from Ambulance and Emergencey care and Winter pressures was adapted for this respository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages