miraisolutions / Covid19

Dashboard developed in r shiny to provide insight on COVID-19 pandemic, analyzing data from public, reliable sources.
https://mirai-solutions.ch/gallery/covid19
GNU General Public License v3.0
16 stars 3 forks source link
covid-19 r shiny

Covid19Mirai

ci-cd eRum2020::CovidR

The goal of Covid19Mirai is to provide an insight on corona virus data taken from public and reliable resources.

Data Source history

Up to the 26th of March 2020, the source was the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE)

However, due to a format change on the data source, we had to switch, starting the 26th of March 2020, to the work of David Bumbeishvili, who is maintaining the old JHU CSSE data set format with updates declared as from worldometers. This is a new project and we cannot guarantee the long-term reliability of the data source. We are, however, grateful to David Bumbeishvili for his work.

Update 4th of July 2020, Data from few European countries have been readjusted recently, getting this update has given us the push to switch to a new and richer data source. We have decided for the COVID 19 Data Hub project led by Emanuele Guidotti and David Ardia. We are very thankful to David Bumbeishvili for his great work

Update October 2023, the app stops updating data and is frozen to 2022-06-01.

Data Storage

Data are updated with a delay of 40h, i.e. at 4pm CEST the Last date is updated taking the yesterday date. This allows having data for about all countries when the date is updated with the new one.

The data are stored as RDS file in folder inst/datahub of the package. A script build_data runs in GitHub Actions twice every day to update the data in the package.

The data update was stopped in October 2023.

The dashboard

It consists of 5 main pages:

Macro areas of Continents are defined following United Nations indications.

The Variables

The Covid19datahub project can allow us to use the following variables:

The following variables are computed by the application:

The results are visualized as a shiny app.

Installation

You can install Covid19Mirai from GitHub with:

# install.packages("devtools")
devtools::install_github("miraisolutions/Covid19")