Skip to content

nicoFhahn/covid_shiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eRum2020::CovidR

Covid Shinyline: The 2019-20 Coronavirus Pandemic visualized with R and Shiny

Covid Shinyline uses the data from Johns Hopkins University to visualize the outbreak of the novel coronavirus. The data is available from this repository.

You can scroll through the story so far, look at the countries currently leading in various statistics and view the figures on a world map.

The app uses the mapbox API. If you have an API key, save it in a key.env file that looks like this:

MAPBOX_KEY=YOUR_SECRET_API_KEY

If you do not have such a key, the app will display a dark basemap from carto.

Run it on your machine

You can run Covid Shinyline on your own machine using the following code:

packages = c(
	"data.table", "dotenv", "dplyr", "english", "forecast", "fresh", "highcharter", "htmltools", "leaflet",
	"leaflet.extras", "plotly", "plyr", "quantmod", "readr", "sass", "sf", "shiny", "shinyanimate", "shinybusy",
	"shinyjs", "shinyWidgets", "stringr", "waiter"
	)
install.packages(packages, repos = "https://cran.rstudio.com/")
devtools::install_github("rstudio/leaflet.mapboxgl")
library(shiny)
runGitHub("covid_shiny", "nicoFhahn")

Screenshots

alt text alt text

Acknowledgments

The folks over at RStudio with the SuperZIP demo which heavily inspired the layout of the leaflet map.

Questions/issues/contact

[email protected], or open a GitHub issue

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published