Skip to content

mamullen13316/nc_covid_by_zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

nc_covid_by_zip

Utility to look up number of cases by zip code.

This script performs the equivalent of going to https://covid19.ncdhhs.gov/dashboard#zip-code-map zooming in, and then clicking on your zip code to retrieve the number of cases.

Requirements

  • Python requests module
pip install requests

Usage

bash-3.2$ python nc_covid_by_zip.py --h
usage: nc_covid_by_zip.py [-h] [-z ZIP]

optional arguments:
  -h, --help         show this help message and exit
  -z ZIP, --zip ZIP  NC ZIP CODE

Output

bash-3.2$ python nc_covid_by_zip.py --zip 27502

*-------------------------------------------------------------------*
Number of cases on 2020-05-19 20:18:25 EDT in zip code 27502 is: 47
This is about 0.11% of the 43747 residents in Apex
*-------------------------------------------------------------------*


About

Looks up number of Covid cases by NC zip code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages