Skip to content

BDI-pathogens/LocalCovidTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the code for the shiny app LocalCovidTracker.

The app used to be hosted online at LocalCovidTracker but was retired in July 2022. It was built in Summer 2020 to provide a daily analysis of covid-19 infections across England and Wales at local and regional levels using the method presented in [1] with the latest combined pillars 1 and 2 data from the government dashboard (originally by PHE and NHSX, later maintained by UKHSA).

The app also presents interactive versions of our tracking and synthetic control analyses from [1] so that they can be explored in more detail. These use the Pillar 1 data which was available until July 2020.

To run the app locally, clone or download this repository and execute shiny::runApp('global.R'). If using RStudio this can also be achieved by opening any of the .R files and clicking on "Run App". Please note that if any of the packages on which it depends (listed below) are missing, it will fail to run until they have all been installed. To update a local version to use the latest data, source prep/daily_tracker_scraper.R and prep/cases_by_age_scraper.R, and reload the app.

Depends: R (≥ 3.6.3), shiny, shinyWidgets, RColorBrewer, glue, shinythemes, shinycssloaders, Cairo, tidyverse, plotly


[1] Michelle Kendall, Luke Milsom, Lucie Abeler-Dörner, Chris Wymant, Luca Ferretti, Mark Briers, Chris Holmes, David Bonsall, Johannes Abeler, Christophe Fraser. Epidemiological changes on the Isle of Wight after the launch of the NHS Test and Trace programme: a preliminary analysis, The Lancet Digital Health, published online October 14, 2020.