Skip to content

jasondet/ihme_covproj_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ihme_covproj_test

Plots IHME's COVID-19 deaths projections for different locations and dates vs actuals, to see how well they did.

Usage: python draw_proj_vs_time.py (-s) [location]
  -s : save an animated gif instead of running interactively
Note: if the location name has a space, enclose the name in quotes.
Example: python draw_proj_vs_time.py "New York"

Requirements:

  • linux-like terminal environment (works on my Mac)
  • python3 with numpy and matplotlib
  • imagemagick

Example output gif:

US gif

To update with future IHME data, download their data from http://www.healthdata.org/covid/data-downloads and unpack it in the data directory.

Uses the "Player" class posted here for interactive drawing: https://stackoverflow.com/questions/44985966/managing-dynamic-plotting-in-matplotlib-animation-module

About

Plot IHME projections for different locations and dates vs actuals, see how well they did.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages