Basic bootstrap shiny app including leaflet maps, plots and dt tables
This is a basic Shiny app to practice how to create interactive visualizations in R. Using drop down filters to display information by countries and also adding animations to show progress in time of covid19 cases around the world.
Data is refreshed daily from JHU Github repository and daily 10,000 population rates are calculated in two different R scripts that feed into the Shiny app displayed on the Shiny server.
The Shiny app is structured into two sections: Maps and plots. Two tabs display grographical information in a leaflet map alllowing user to hover over countries to display tooltips on specific metircs for each country that change daily as the animation updates.
I am using this app to test new Shiny, CSS and HTML features, I will build the app to include other technologies such as React and node.js. I intend to learn them to enhance the interactivity of this existing app.
Data for this app is produced by the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE) for their 2019 Novel Coronavirus Visual Dashboard and Supported by ESRI Living Atlas Team and the Johns Hopkins University Applied Physics Lab (JHU APL).
John Hopkins repository stores daily CODIV-19 data files for each country worldwide
https://github.com/CSSEGISandData/COVID-19
The data folder containes the downloaded compressed .csv files from John Hopkins Github repository
Specific file to get latest Covid19 figures JHU: https://github.com/CSSEGISandData/COVID-19/archive/master.zip
Once the compressed file is dowloaded into the data folder, we obtain three input files for the Shiny app:
- "time_series_covid19_confirmed_global.csv",
- "time_series_covid19_deaths_global.csv",
- "time_series_covid19_recovered_global.csv"
These three files are the COVID indicators used in the Shiny app: new, deaths and recovered cases merged with population data to obtain specific population reates to allow comparisons across countries.