Giter VIP home page Giter VIP logo

covid19_nhs111's Introduction

COVID19_NHS111

Project Status: Completed

Project Description

A descriptive analysis of trends in NHS 111 activity, both all calls and related to COVID-19. NHS 111 COVID-19 actvity includes potential COVID-19 completed online assessments and potential COVID-19 triages in NHS Pathways through 111 or 999. We are creating daily counts for England, in total and by gender and age band.

Data source

We are using publically available data published by NHS digital and NHS England. The data used for this analysis is not included in this repository but you can download COVID specific data and all NHS111 calls data.

No information was used that could directly identify a patient or other individual.

The shapefiles for the CCG map can be downloaded from https://www.arcgis.com/home/item.html?id=ecac7e1b2300434499c46c62284858c2#overview

How does it work?

The code can be used to replicate the analysis on this dataset.

Requirements

These scripts were written under R version 3.6.3 (2020-02-29) -- "Holding the windsock". The following R packages (available on CRAN) are needed:

Functions from internal package, theme_THF() and scale_XXX_THF() can be removed or be replaced with eg theme_minimal().

Getting started

The 'R' folder contains:

  • 0_download_data.R - scrape links from website and use to download data.
  • 1_clean_data.R - Load, clean and save cleaned data.
  • 2_NHS111_line_plots.R - Line plots of NHS 111 online assessments.
  • 3_NHS111_population_pyramids.R - Population pyramid of NHS 111 online. assessments
  • 4_pathways_line_plots.R - Line plots of COVID-19 triages in NHS Pathways
  • 5_pathways_population_pyramids.R - Population of COVID-19 triages in NHS Pathways
  • 6_NHSS111_CCG_map.R - CCG map of NHS 111 online assessments, using 2019 boundaries
  • Schedule.R - Schedule daily download of data. Only works on Windows.
  • Tests.R - Unit test to check that the data has not changed.

Authors

License

This project is licensed under the MIT License.

covid19_nhs111's People

Contributors

emmavestesson avatar fiona-grimm avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jfontestad

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.