Git Product home page Git Product logo

seir_covid19's Introduction

SEIR_COVID19

The code for creating the R Shiny application https://alhill.shinyapps.io/COVID19seir/ is in the directory COVID19seir. This code is an SEIR model for COVID-19 infection, including different clinical trajectories of infection, interventions to reduce transmission, and comparisons to healthcare capacity.

The code that produces the interface and functionality of the Shiny App is in files

  • server.R
  • ui.R

Files used in the explanatory sections of the app are

  • SEIR.Rmd
  • About.Rmd
  • www/Parameters.nb.html
  • www/Tutorial.html

All the functions that actually run the model and process the parameters are in the code/functions.R file

If you want to run the code to produce the same outputs as Shiny but without dealing with the app structure, you can use the R scripts

  • runSpread.R
  • runInterventions.R
  • runCapacity.R

When trying out new model structures or plots, it is much easier to work with scripts instead of directly with the app. Once troubleshooting is done, it can be integrated with the app

There are also some new new scripts to simulate the worsening of outcomes if healthcare capacity is overwhelmed

  • runOverflow.R
  • code/functionsOverflow.R

There is also a Python notebook simulating the same model (.ipynb)

You can use this page to report issues you find with the app

Developers: No pull requests will be accepted from this repository, which is only for sharing the stable code used in the app. If you are contributing to this project please use the developmental repository https://github.com/alsnhll/SEIR_COVID19_Dev

Caution: This model is still a work in progress and will be updated continuously.

seir_covid19's People

Contributors

alsnhll avatar benflips 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.