GithubHelp home page GithubHelp logo

ncov_tracker's Introduction

COVID-19 interactive mapping tool

This github page contains the code and input data for the interactive COVID-19 mapping tool available developed by the Vaccine Centre at the London School of Hygiene and Tropical Medicine.

Input data are obtained from the Johns Hopkins Center for Systems Science and Engineering github page.

The Shiny app, first launched on 11th February 2020, aims to complement existing COVID-19 mapping dashboards (such as those developed by the WHO and Johns Hopkins University) with several interactive features, including the timeline function and the ability to overlay past outbreaks.

Shiny interface

Follow this link for the interactive Shiny app. A screenshot of the interface is provided below.

Shiny app interface

Analysis code

Key elements of the analysis code are as follows:

  • jhu_data_full.R โ€“ an R script that extracts and reformats time-series from the Johns Hopkins Center for Systems Science and Engineering github page. The output files are saved in the input_data folder.
  • ny_data_us.R โ€“ an R script that extracts and reformats time-series from the New York Times github page. The output files are saved in the input_data folder.
  • app.R - an R script used to render the Shiny app. This consists of several plotting functions as well as the ui (user interface) and server code required to render the Shiny app. The script has become more complex over time as a growing number of interactive features has been added.
  • input_data - a folder containing dynamic input data relating to the evolving COVID-19 pandemic (updated by jhu_data_full.R and ny_data_us.R) and static input data relating to past epidemics and country mapping coordinates.

Updates

From 1st May 2020 onwards, this github page will no longer be updated daily. The Shiny app automatically updates itself based on the code in jhu_data_full.R and ny_data_us.R and updated case data can be downloaded directly from the app via the 'Data' tab. To create up-to-date versions of the input data, users can clone this repository and run jhu_data_full.R and ny_data_us.R locally. Updated input data will also be uploaded to this github page at regular intervals.

Other resources

Several resources proved invaluable when building this app, including:

Authors

Dr Edward Parker, The Vaccine Centre, London School of Hygiene & Tropical Medicine

Quentin Leclerc, Department of Infectious Disease Epidemiology, London School of Hygiene & Tropical Medicine

Contact

[email protected]

ncov_tracker's People

Contributors

eparker12 avatar

Stargazers

 avatar

Watchers

James Cloos avatar

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.