Skip to content

chuabern/covid-tracking-data

 
 

Repository files navigation

COVID Tracking Data (CSV)

Hourly updated repository with CSV representations of data from the Covid Tracking API - see link for details on each field. Since this repository may be an hour behind our API, please use the API directly if you need the most recent data.

For information about the project and how this data is collected, see the COVID Tracking Project website and Twitter account.

CSV data files

Running the script

For the list of options, type:

> python ./backup_to_s3.py --help

This will give you a list of options for running the script:

usage: backup_to_s3.py [-h] [--temp-dir TEMP_DIR] [--s3-bucket S3_BUCKET]
                       [--states STATES] [--public-only] [--push-to-s3]
                       [--replace-most-recent-snapshot]
                       [--phantomjscloud-key PHANTOMJSCLOUD_KEY]

Script to run image capture screenshots for state data pages.

optional arguments:
  -h, --help            show this help message and exit
  --temp-dir TEMP_DIR   Local temp dir for snapshots
  --s3-bucket S3_BUCKET
                        S3 bucket name
  --states STATES       Comma-separated list of state 2-letter names. If
                        present, will only screenshot those.
  --public-only         If present, will only snapshot public website and not
                        state pages
  --push-to-s3          Push screenshots to S3
  --replace-most-recent-snapshot
                        If present, will first delete the most recent snapshot
                        for the state before saving new screenshot to S3
  --phantomjscloud-key PHANTOMJSCLOUD_KEY
                        API key for PhantomJScloud, used for browser image
                        capture                       

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 87.2%
  • Python 12.8%