Python script that gets covid-19 data for a specific zip code and from the last number of specified days. Data is stored to a csv file inside the data directory. The data is then graphed.
data source: [https://github.com/CSSEGISandData/COVID-19]
requests
csv
contextlib
matplotlib.pyplot
argparse
python3 main.py --zip <zip code> --days <# days prior to current date>
The x-value in the graphs shown are the last days specified
- Total Cases
- Derivative of Total Cases (Number of new cases each day)
This is similar to another project that I worked on which can be found here: [https://github.com/jakenieto/python-requests-scraping]