Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (21 loc) · 2.7 KB

README.md

File metadata and controls

41 lines (21 loc) · 2.7 KB

Bay Area COVID-19 Dashboard

Automerge and Update Plots

NOTE: this repository has been archived, as the datasets being used are no longer being updated as March 13, 2023.

A repo for plotting and analyzing COVID-19 cases/deaths, with a focus on the San Francisco Bay Area. The data in this README are from the John Hopkins University dataset.

To install this package, clone this repo, from the top-level directory of the repo, type the following line into your command line

pip install .

The plots below are easily reproducible using the covid.plot_bay_cases method. There are also useful functions for reading in the COVID-19 data from both the JHU and NY Times datasets: covid.get_data loads the entire COVID-19 dataset from the specified source into a Pandas.DataFrame, and covid.get_bay_data loads the pertinent information for only the 9 Bay Area counties.

The Bay Area counties included are: Alameda, Contra Costa, Marin, Napa, San Francisco, San Mateo, Santa Clara, Solano, and Sonoma.

NOTE: These data are also shown as interactive plots on slwatkins.com/covid/, taking advantage of HTML code generated by Plotly.

Current Bay Area Numbers

Below, we show the total, cumulative cases (and deaths) over time for the combined 9 Bay Area counties.

Bay Area Cumulative

Below, we show the daily new cases (and deaths) over time for the combined 9 Bay Area counties.

Bay Area Daily

County-by-County Numbers

Below, we show the total, cumulative cases (and deaths) over time for each of the 9 Bay Area counties.

County Cumulative

Below, we show the daily new cases over time for each of the 9 Bay Area counties.

County Daily

Below, we show the daily new cases over the last month for each of the 9 Bay Area counties.

County Daily, Recent