15/09/2020

The Assignment

For the final course project in Johns Hopkins: Developing Data Products course we are tasked with designing and building a Shiny app and accompanying presentation (this document!).

Specification

The Shiny app must:
- Use an input in ui.R
- Perform calculations on the input in server.R
- Return an output of the calculation

My App

I have decided to create an application that retrieves Public Health England data on COVID-19 cases for different areas of the UK.

  • Input = ‘dropdown’ menu to select the area of interest
  • Computation = subsets the data by the selected area (input) and renames the title of the graph
  • Output = plotly plot showing cumulative cases for the area of interest, over time

Input choices

Input choices are generated from the data

##    Length     Class      Mode 
##       351 character character
## [1] "Adur"         "Allerdale"    "Amber Valley" "Arun"         "Ashfield"    
## [6] "Ashford"

Example Plot

Here is an example of the plot that would be generated in Shiny for my home county of Surrey.