This repository contains code (in the form of Python scripts) to obtain and visualize data about confirmed positive cases of COVID-19 in the cities and communities within LA County. It also includes sample data obtained from these scripts as well as sample plots.
We also post the latest plots every day on the following website: CoVID-19 Plots for LA County.
The Los Angeles Department of Public Health do a press release every day, which contains information about the number of CoVID-19 cases in Los Angeles County and its neoghbourhood. We provide a pointer to some of the press releases that were used for scraping the data below:
- March 16
- March 17
- March 18
- March 19
- March 20
- March 21
- March 22
- March 23
- March 24
- March 25
- March 26
- March 27
The scripts folder contains two scripts. The script titled "fetch_and_restore.py" gets the data from the above web sites and store them in a JSON file for further processing, visualization, and analytics purposes. For visualization purposes, we provide another script (visualization_COVID.py). These scripts have been created to process the press releases from starting 16th of March to 27th of March.
For those who are interested only in analysing the data, we provide the data in the CSV and JSON formats. In the JSON, the keys represent the "day" in March and the values denote the cases in each community in LA county.
We have generated plots using the data retrieved from LA county press releases. These plots show the time-series data for confirmed COVID-19 positive cases (daily) and fatalities in the communities and cities within LA County that are showing the most number of cases.
For any questions about this data set or tools, please contact Dr. Gowri Sankar Ramachandran (gsramach@usc.edu) or Prof. Bhaskar Krishnamachari (bkrishna@usc.edu).