Code Monkey home page Code Monkey logo

menon99 / indiacovid19 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 4.43 MB

Source code of covid-india-analysis, a project to keep track of covid19 in India

Home Page: https://covid19-india-analysis.herokuapp.com/home

License: MIT License

Java 89.50% CSS 0.33% JavaScript 10.16%
covid-19 india java servlet jsp chartjs arima-model data-visualization data-analysis states districts coronavirus-real-time heroku-deployment cumulative-trends pandemic epidemiology reproduction-number r0-graph growth-rate predictions

indiacovid19's Introduction

India Covid19 Analysis

Contributors

A Java servlet based web application built to keep a track of the covid19 pandemic in India

Website hosted on heroku IndiaCovid19

The data has been fetched from api.covid19india.org . Thank You!

Django REST API has been used to fetch the results of ARIMA predictions, Growth rate and realtime R0 values covid19-api-django

Dependencies

Backend

  • Tomcat 8
  • JSP-API
  • Javax-Servlet-API
  • JSTL
  • org.json
  • okhttp3
  • commons-io

Frontend

  • Tabulator.js
  • Leaflet.js
  • Bootstrap 4
  • Chart.js

To run locally

  • Install Java version 8 or later
  • Install maven on your system
  • Clone or download the repo and cd into it
  • On Linux/Mac
    $ mvn package
    $ sh target/bin/webapp
    
  • On Windows
    C:/> mvn package
    C:/> target/bin/webapp.bat
    

Screenshots

India Map and trend charts

india1

Pie chart and timeline buttons

india2

State-wise table

state table

Arima chart

Arima

Note : We have made an effort at trying to predict the confirmed cases over the next ten days. But we aren't specialists in epidemiology so there are bound to be differences between what is actual and what is predicted.

These predictions are only meant to be taken as a worst case scenario and with a lot of caution. The assumptions made do not take into consideration public health interventions or any other parameters as such.

State Trends

delhi

delhi2

State Growth rate and Arima chart

Arima

Realtime-R0 graph

R0

FAQ's on R0

What is R0?

In any epidemic, ๐‘…๐‘ก is the measure known as the effective reproduction number. It's the number of people who become infected per infectious person at time ๐‘ก . The most well-known version of this number is the basic reproduction number: ๐‘…0, when ๐‘ก=0 . However, ๐‘…0 is a single measure that does not adapt with changes in behavior and restrictions.

What can i infer from it?

As a pandemic evolves, increasing restrictions (or potential releasing of restrictions) changes ๐‘…๐‘ก . Knowing the current ๐‘…๐‘ก is essential. When ๐‘…โ‰ซ1 , the pandemic will spread through a large part of the population. If ๐‘…๐‘ก<1 , the pandemic will slow quickly before it has a chance to infect many people. The lower the ๐‘…๐‘ก : the more manageable the situation. In general, any ๐‘…๐‘ก<1 means things are under control.

Why isn't R0 being calculated on a National level?

It is not useful to understand ๐‘…๐‘ก at a national level. Instead, to manage this crisis effectively, we need a local (state, county and/or city) granularity of ๐‘…๐‘ก .

What does Max, Min and Most likely mean in the R0 graph?

Max and Min indicate the range of values R0 could have been on that particular day. This range is huge at the beginning of an epidemic as we do not have much data about it. But as we gather more data, we can see that the area between the Max and Min lines start becoming narrow and begin to coincide with Most Likely R0 plot.

What is the methodology being used to calculate R0?

It's a modified version of a solution created by Bettencourt & Ribeiro in 2008 to estimate real-time ๐‘…๐‘ก using a Bayesian approach. We have used this model to estimate a time-varying ๐‘…๐‘ก .

indiacovid19's People

Contributors

dependabot[bot] avatar menon99 avatar tsaiaditya avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

tsaiaditya

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.