Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Descriptive analysis of trends in GP appointments

License

Notifications You must be signed in to change notification settings

HFAnalyticsLab/COVID19_daily_GP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-19 daily GP data analysis

Project Status: [completed]

Project Description

A descriptive analysis of trends in daily GP activity.The code can be used to recreate the analysis described in our chart series

Data source

We are using publically available data published by NHS digital. The data used for this analysis is not included in this repository but can be downloaded from their website.

How does it work?

The code can be used to download the data and replicate the analysis.

Requirements

These scripts were written in R version version 3.6.3 (2020-02-29) -- "Holding the windsock" and RStudio Version 1.2.5033. The following R packages (available on CRAN unless otherwise specified) are needed:

Getting started

The 'R' folder contains:

  • 0_download_data.R - download data.
  • 1_clean_data.R - Load, clean and save cleaned data.
  • 2_tests.R - Unit tests to check that downloaded data is in the expected format
  • 3_coverage_plot.R - Create plot showing coverage.
  • 4_appointment_plots.R - Create appointment plots by week showing average number of appointments per working day and absolute number of appointments.
  • 5_appointment_avg_plots.R Create appointment plots by week showing average number of appointments normalised to 5 working days per week and absolute number of appointments.
  • 6_monthly_plots.R - Create appointment plots by month showing average number of appointments normalised to 25 working days per month and absolute number of appointments.
  • 7_regional_plots.R - Create appointment plots by month and region showing absolute number of appointments.

Authors

License

This project is licensed under the MIT License.

About

Descriptive analysis of trends in GP appointments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages