Skip to content

Python script that graphs gets covid-19 data for a specific zip code in the US

Notifications You must be signed in to change notification settings

jakenieto/COVID19-data-zipCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID19-data-zipCode

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]

Dependencies

requests
csv
contextlib 
matplotlib.pyplot 
argparse

How To Run

python3 main.py --zip <zip code> --days <# days prior to current date>

Graph Info

The x-value in the graphs shown are the last days specified

  • Total Cases
  • Derivative of Total Cases (Number of new cases each day)

Similar Projects

This is similar to another project that I worked on which can be found here: [https://github.com/jakenieto/python-requests-scraping]

About

Python script that graphs gets covid-19 data for a specific zip code in the US

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages