Skip to content

zhongjzsb/COVID-19

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID-19

Visualizing and modeling the COVID-19 is the main objective here.

I'm trying to use R to implement this idea. The initial idea was to create an animated map with dots. I generalized the code in order to plot multi countries if we have the detailed location data of the cases. You can find my post here. It includes some other types of plots, such ggplotly and shiny app.

Shiny Flexdashboard

I created a shiny flexdashboard here.

covid-19-dashboard

Leaflet Map

leaflet_map

Animate Plots

Here are the plots for China and the entire world. I removed US plots as the data format keeps changing.

animate_china

animate_world

animate_china

animate_world

Alternative plot

I come into this github and created similar plot in R.

china_polygon_animate

Todo:

  1. Modelling the data with SIR.
  2. Shiny app update.

Acknowledgement

  • The data source is from JHU CSSE (Old website is JHU nCov).
  • Some countries didn't report recovered cases, like Canada. I fill it as 0.
  • I changed the Country/Region to China for Hong Kong, Macau and Taiwan in the github plots, but not in the shiny flexdashboard.

References:

Licence

This work is licensed under CC BY-NC 4.0