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.
An online version of the dashboard is available here: https://covid19.hypermynds.com.
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()
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