benthecoder / covid19-flexdashboard

A simple covid19-dashboard built with Flexdashboard

Home Page:https://benthecoder.github.io/covid19-flexdashboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The COVID-19 Dashboard

screenshot of dashboard

This dashboard provides an overview of the COVID-19 (2019-nCoV) epidemic. This dashboard was built with R using Rmarkdown and the Flexdashboard package.

View the Dashboard

Data

Data Refresh

The source of data for this dashboard is from the R package coronavirus. With the raw data pulled from the COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University

This dashboard updates daily through the Github Actions workflow running a docker image I built. You can find the yaml file here and the docker image here

Packages Used

  • Dashboard interface - flexdashboard
  • Visualization - plotly, RColorBrewer, ggplot2
  • Data Import - data.table
  • Data manipulation - dplyr, tidyr, purrr, forcats
  • Mapping - leaflet, leafpop
  • Strings - glue
  • Data Source - coronavirus
  • Data display - DT
  • Dates - lubridate
  • Scales - scales

ToDo

  • learn how to dockerize dashboard for github actions to run image with rocker
  • figure out how to rebuild docker image if I decide to add more packages. Rebuild new one or is there another way? may be useful
  • Add vaccination data into dashboard with reactable
  • Learn D3 and add r2d3 visualizations to dashboard
  • experiment with dygraphs article
  • Add news section to dashboard for latest news

References for github actions for R

Tutorial on how to host flexdashboard on github pages

Docker for R

Credits

About

A simple covid19-dashboard built with Flexdashboard

https://benthecoder.github.io/covid19-flexdashboard/

License:MIT License


Languages

Language:R 48.3%Language:Dockerfile 33.1%Language:Shell 18.6%