Skip to content

HFAnalyticsLab/ambulance_and_emergency_care

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Why have the ambulance waiting times been getting worse?

Project Status: Published

Project Description

Ambulance services are under immense pressure. This analysis looks at ambulance service performance and explores contributing factors and priorities for improvement.

Outputs

The findings will be published as a Health Foundation long chart

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 and charts 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.02 and RStudio Workbench Version 1.1.383. The following R packages (available on CRAN) are needed:

  • tidyverse
  • ISO week
  • lubridate
  • curl
  • rio
  • readxl
  • janitor
  • ggplot2
  • tsibble
  • ggtext
  • readr
  • stirngr
  • ggh4x

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

Getting started

The src folder contains

Authors

Project team also consisted of Ellen Coughlan, Josh Keith and Charles Tallack.

License

This project is licensed under the MIT License.

Acknowledgements

Code from COVID_19_social_care_open_data was adapted for this respository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages