Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Dashboard of local COVID-19 data sourced from the Los Angeles Times and Los Angeles County Department of Public Health

License

Notifications You must be signed in to change notification settings

xander-hirsch/ca-local-covid19-dashboard

Repository files navigation

California Local COVID-19 Dashboard

Dash dashboard to visualize the case rate of COVID-19 over time in California communities. Data is provided by the Los Angeles Times and Los Angeles County Department of Public Health.

View the live dashboard at http:https://ca-local-covid-19.xanderhirsch.us/

Setup

Python Environment

Clone the repository and install the pipenv environment with $python3 -m pipenv install.

Acquire Data Sources

  1. Navigate to the LACDPH COVID-19 Data Dashboard and download the "14-Day Community Cases" and "7-Day Community Cases" tables into the /sources directory.
  2. Run ./fetch-latimes-place-totals.sh Bash script to get the latest COVID-19 case totals compiled by the Los Angeles Times.
  3. Convert the CSV files to Pandas DataFrame pickle files by running ./parse-sources.sh

Usage

Local Testing

Run the app with $python3 -m pipenv run python app.py. The local dashboard is hosted at localhost:8050.

Heroku Deployment

Run ./deploy.sh

About

Dashboard of local COVID-19 data sourced from the Los Angeles Times and Los Angeles County Department of Public Health

Resources

License

Stars

Watchers

Forks