Skip to content

hypermynds/covid19

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covid19

Build Status Version Lifecycle: experimental eRum2020::CovidR

The R package covid19 is used to retrieve, analyse and represent Italian data on the COVID19 outbreak and spreading.

It uses official data issued by the Italian Government through the COVID-19 repository.

Data are represented using flexdashboard, an easy and interactive dashboard tool for R.

The package covid19 implements a time-dependent SIR model to predict the epidemic evolution.

Dashboard

An online version of the dashboard is available here: https://covid19.hypermynds.com.

Getting Started

covid19 is not available on CRAN yet but it can be downloaded through the remotes package:

remotes::install_github('msaltieri/covid19')
library(covid19)

The local dashboard is opened with:

covid19::launch()

A new Codiv object is initialized by:

covid <- Covid$new()

Historical data can be displayed into a tibble by:

covid$get()

Epidemic projections can be calculated via:

covid$sir()

Documentation

The Covid R6 class is documented by Roxygen. To have further information on all the available methods take a look at the manual:

?covid19::Covid

Releases

No releases published

Packages

No packages published

Languages