Tracker for COVID-19 in the United States using data from the U.S CDC and John Hopkins University. This software powers a Twitter bot that you can follow here
This software scrapes data from the U.S Centers for Disease Control and Prevention and John Hopkins University CSSE and (at present) creates simple visualizations of it. Usage of this software requires a Twitter developer account. This is a very early release and new features are currently in development.
- Automatically checks JHU CSSE's COVID-19 repo for new reports and saves time series and daily total data as a CSV file
- Automatically generates and formats plots from data and saves plots as .png files
- Automatically formats and posts tweets with case information with support for generating threaded tweets
This software requires a Twitter Developer Account. To install this software, follow these steps:
- Clone this repo to a directory of your choice (Note that this program sets up its data in its install location)
- Install the following packages and their dependencies: matplotlib, numpy, pandas, requests
- Open a terminal window in your install location and run
python3 coronatracker.py
- Follow the terminal prompts to authorize this software to connect to your Twitter app
Since this software its dependent on 3rd party data that I have no control over, the functionality of this program is somewhat out of my control. JHU has changed its spreadsheet data several times in a way that breaks this program, and it is possible it can happen again. The same goes for the CDC data.
- Comparisons with other countries
- Additional statistics and visualizations
This software is licensed under the GNU GPL v3 and is provided without any warranty. This software is not developed by any government or international organization. This software uses data from the United States Centers for Disease Control and Prevention as well as John Hopkins University CSSE and the author of this software is eternally grateful to these institutions for making this data publically accessible.