/Interactive-UK-Covid-Data

Plotting and visualising Covid data from the UK Government's Covid API

Primary LanguageR

Interactive-UK-Covid-Data

Check it out on Shiny Apps. Data currently being used is demo data and will only go up to the 09/07/2021.

Description

This project uses R and the UK Government's Covid API to create an interactive map showing daily cases and cumulative deaths across all of the local authorities in the UK. Additionally showing a few charts which compare and visualise data in different ways. For example, comparing the cumulative deaths to net household income (since 2018) for each local authority.

Libraries Used

  • Shiny
  • Leaflet
  • Scales
  • Ggplot2
  • Tidyverse
  • Sf
  • Tmap
  • Tmaptools

How It Works

The map shows you the daily cases and cumulative deaths (switch with radio buttons) for each local authority and there is a slider which lets you see this data for different dates since the data was made available via the API.

The comparison page has three graphs which change from the inputs on the left. You can see the cumulative cases, deaths and daily cases for all UK regions or local authorities.