Next Article in Journal
Joint Optic Disc and Cup Segmentation Using Self-Supervised Multimodal Reconstruction Pre-Training
Previous Article in Journal
An Agent-Based Model to Simulate the Spread of a Virus Based on Social Behavior and Containment Measures
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Shiny Dashboard for Monitoring the COVID-19 Pandemic in Spain †

by
Carlos Fernandez-Lozano
1,2,* and
Francisco Cedron
1,2
1
Department of Computer Science and Information Technologies, Faculty of Computer Science, Universidade da Coruña, Campus Elviña s/n, 15071 A Coruña, Spain
2
CITIC-Research Center of Information and Communication Technologies, Universidade da Coruña, 15071 A Coruña, Spain
*
Author to whom correspondence should be addressed.
Presented at the 3rd XoveTIC Conference, A Coruña, Spain, 8–9 October 2020.
Proceedings 2020, 54(1), 23; https://doi.org/10.3390/proceedings2020054023
Published: 20 August 2020
(This article belongs to the Proceedings of 3rd XoveTIC Conference)

Abstract

:
Real-time monitoring of events such as the recent pandemic caused by COVID-19, as well as the visualization of the effects produced by its expansion, has highlighted the need to join forces in fields already widely used to working hand in hand, such as medicine, biology and information technology. Our dashboard is developed in R and is supported by the Shiny package to generate an attractive visualization tool: COVID-19 Spain automatically produces daily updates from official sources (Carlos III Research Institute and Ministry of Health, Consumer Affairs and Welfare) in cases, deaths, recovered, ICU admissions and accumulated daily incidence. In addition, it shows on a georeferenced map the evolution of active, new and accumulated cases by autonomous community allowing to travel in time from the origin to the last available day, which allows to visualize the expansion of infections and serves as a visual support for epidemiological studies.
Keywords:
COVID-19; R; Shiny; monitoring

1. Introduction

The pandemic generated by COVID-19 has highlighted concepts such as reproducibility or interactive publication of results for real-time monitoring of an event, two of the battlefields of research today where most of the models proposed in different scientific publications are not easily accessible, analyzable or reproducible. There is no doubt that since the end of 2019, once it became known that uncontrolled outbreaks of infection by a coronavirus were occurring and were severely affecting the respiratory system, the interest at a global level in obtaining information on the monitoring of this infection led to the search for multiple research groups for methods/systems that, in addition to predicting the evolution, would allow the evolution of the pandemic to be visualized as simply as possible. As of 20 July 2020, the World Health Organization (WHO) has records of more than 14.3 million confirmed cases and more than 600,000 deaths, of which more than 260,000 confirmed cases correspond to Spain and more than 28,000 deaths. The data are so overwhelming that they undoubtedly show the seriousness of the pandemic that has been experienced worldwide. In Spain, for example, the situation of saturation of the health systems led in mid-March to the declaration of a State of Alarm throughout the country, preventing the free movement of citizens and closing borders. It is precisely this situation that led to the development of a Dashboard using R [1] and Shiny [2].

2. Results

As previously mentioned the website is available at https://covid19.citic.udc.es and was created with the initial objective of serving as a visual aid to the spread of the pandemic in Spanish territory. To this end, the dashboard has a dynamic and interactive general map of the country’s evolution (Figure 1) which allows the data to be displayed from the beginning of the series.
In the dashboard you can analyze the day-to-day evolution of the pandemic in Spain by Autonomous Community and variable of interest (Figure 2a) or the degree of infection by population pyramid (Figure 2b) using the ggplot2 [3] and plotly [4] libraries.
The deployment was carried out on a docker container with a swarm orchestrator in charge of balancing the load to avoid dashboard saturation in the face of a high number of simultaneous accesses.

3. Conclusions

A dynamic and interactive web dashboard has been developed to visualize the evolution of COVID-19 infection at a national level also segregating by autonomous community.

Funding

This project is supported by the General Directorate of Culture, Education and University Management of Xunta de Galicia (Ref. ED431G/01, ED431D 2017/16), Competitive Reference Groups (Ref. ED431C 2018/49).

Acknowledgments

Technical support from CITIC and UDC, specially to Carlos J. Escudero and Alejandro Mosteiro.

References

  1. R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2020. [Google Scholar]
  2. Chang, W.; Cheng, J.; Allaire, J.; Xie, Y.; McPherson, J. Shiny: Web Application Framework for R; R Package Version 1.4.0.2; 2020; Available online: https://cran.r-project.org/web/packages/shiny/index.html.
  3. Wickham, H. Ggplot2: Elegant Graphics for Data Analysis; Springer: New York, NY, USA, 2016. [Google Scholar]
  4. Sievert, C. Interactive Web-Based Data Visualization with R, Plotly, and Shiny; Chapman and Hall/CRC: London, UK, 2020. [Google Scholar]
Figure 1. Overview of the shiny dashboard.
Figure 1. Overview of the shiny dashboard.
Proceedings 54 00023 g001
Figure 2. Interactive pandemic progress charts. (a) Accumulated cases (log10); (b) Confirmed counts by age range.
Figure 2. Interactive pandemic progress charts. (a) Accumulated cases (log10); (b) Confirmed counts by age range.
Proceedings 54 00023 g002
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fernandez-Lozano, C.; Cedron, F. Shiny Dashboard for Monitoring the COVID-19 Pandemic in Spain. Proceedings 2020, 54, 23. https://doi.org/10.3390/proceedings2020054023

AMA Style

Fernandez-Lozano C, Cedron F. Shiny Dashboard for Monitoring the COVID-19 Pandemic in Spain. Proceedings. 2020; 54(1):23. https://doi.org/10.3390/proceedings2020054023

Chicago/Turabian Style

Fernandez-Lozano, Carlos, and Francisco Cedron. 2020. "Shiny Dashboard for Monitoring the COVID-19 Pandemic in Spain" Proceedings 54, no. 1: 23. https://doi.org/10.3390/proceedings2020054023

APA Style

Fernandez-Lozano, C., & Cedron, F. (2020). Shiny Dashboard for Monitoring the COVID-19 Pandemic in Spain. Proceedings, 54(1), 23. https://doi.org/10.3390/proceedings2020054023

Article Metrics

Back to TopTop