Skip to content

My dashboard for zip code level analysis of COVID19 cases in Maryland

License

Notifications You must be signed in to change notification settings

wckdouglas/covid19_MD

Repository files navigation

Maryland zip-code level COVID19 cases

poetry CIminiconda CIcodecovDocker Pulls

Maryland government is releasing daily zip-code level data since 4/12. I copy and save the data everyday in this github repo, feel free to use these data!

The different data sources used in this project are:

  1. Maryland COVID19 cases (Data source)
  2. Zip code geographic shape data from Census (Data source)
  3. Population data (Data source)
  4. Zip code and City information (Data source)
  5. Cases by Zip code: MD opendata) or ./data, I'm experimenting to see if the MD opendata is updated promptly after the updating MD COVID19 dashboard.

To build the dashboard, do:

python dashboard.py update --use-db #using MD opendata

or

python dashboard.py update #using data collected from MD gov website

both of the commands will generate a html file: dashboard.html

Docker

The code can be run as docker image:

git clone [email protected]:wckdouglas/covid19_MD.git
cd covid19_MD
docker pull wckdouglas/md_covid19
docker run -v "$(pwd):/data" md_covid19 update -o /data/dashboard.html

Poetry

pip install poetry
git clone [email protected]:wckdouglas/covid19_MD.git
cd covid_MD
poetry install
poetry run python dashboard.py update -o /data/dashboard.html

Daily update

A cron job can be setup to run:

poetry run python update_today.py

About

My dashboard for zip code level analysis of COVID19 cases in Maryland

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published