All Projects → datadesk → California Coronavirus Data

datadesk / California Coronavirus Data

Licence: other
The Los Angeles Times' independent tally of coronavirus cases in California.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to California Coronavirus Data

Notebooks
All of our computational notebooks
Stars: ✭ 292 (+55.32%)
Mutual labels:  news, journalism, csv, jupyter-notebook
Jupyter Datatables
Jupyter Notebook extension leveraging pandas DataFrames by integrating DataTables and ChartJS.
Stars: ✭ 127 (-32.45%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Gdeltpyr
Python based framework to retreive Global Database of Events, Language, and Tone (GDELT) version 1.0 and version 2.0 data.
Stars: ✭ 124 (-34.04%)
Mutual labels:  news, jupyter-notebook, pandas
Learnpythonforresearch
This repository provides everything you need to get started with Python for (social science) research.
Stars: ✭ 163 (-13.3%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Repo2docker Action
GitHub Action for repo2docker
Stars: ✭ 88 (-53.19%)
Mutual labels:  jupyter-notebook, jupyter, binder
30 Days Of Python
Learn Python for the next 30 (or so) Days.
Stars: ✭ 1,748 (+829.79%)
Mutual labels:  csv, jupyter, pandas
Practical Machine Learning With Python
Master the essential skills needed to recognize and solve complex real-world problems with Machine Learning and Deep Learning by leveraging the highly popular Python Machine Learning Eco-system.
Stars: ✭ 1,868 (+893.62%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Python Training
Python training for business analysts and traders
Stars: ✭ 972 (+417.02%)
Mutual labels:  jupyter-notebook, jupyter, binder
Census Data Downloader
Download U.S. census data and reformat it for humans
Stars: ✭ 149 (-20.74%)
Mutual labels:  news, journalism, pandas
Alphalens
Performance analysis of predictive (alpha) stock factors
Stars: ✭ 2,130 (+1032.98%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Jupyter Server Proxy
Jupyter notebook server extension to proxy web services.
Stars: ✭ 153 (-18.62%)
Mutual labels:  jupyter-notebook, jupyter, binder
Startr
A template for data journalism in R
Stars: ✭ 69 (-63.3%)
Mutual labels:  news, journalism, data
Homeless Arrests Analysis
A Los Angeles Times analysis of arrests of the homeless by the LAPD
Stars: ✭ 53 (-71.81%)
Mutual labels:  news, journalism, jupyter-notebook
Helm Chart
A store of Helm chart tarballs for deploying JupyterHub and BinderHub on a Kubernetes cluster
Stars: ✭ 123 (-34.57%)
Mutual labels:  jupyter-notebook, jupyter, binder
Machinelearningcourse
A collection of notebooks of my Machine Learning class written in python 3
Stars: ✭ 35 (-81.38%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Nb2xls
Convert Jupyter notebook to Excel spreadsheet
Stars: ✭ 129 (-31.38%)
Mutual labels:  jupyter-notebook, jupyter, binder
Py
Repository to store sample python programs for python learning
Stars: ✭ 4,154 (+2109.57%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Crime Analysis
Association Rule Mining from Spatial Data for Crime Analysis
Stars: ✭ 20 (-89.36%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Data Forge Ts
The JavaScript data transformation and analysis toolkit inspired by Pandas and LINQ.
Stars: ✭ 967 (+414.36%)
Mutual labels:  csv, pandas, data
Opendatawrangling
공공데이터 분석
Stars: ✭ 148 (-21.28%)
Mutual labels:  jupyter-notebook, jupyter, pandas

california-coronavirus-data

The Los Angeles Times' independent tally of coronavirus cases in California.

Binder Jupyer Notebook tests

Table of contents

Agency survey

CDPH press releases

Nursing homes

Prisons and jails

Other

About the data

These files come from a continual Times survey of California's 58 county health agencies and three city agencies. Updated numbers are published throughout the day at latimes.com/coronavirustracker. This repository will periodically update with an extract of that data.

The figures are typically ahead of the totals compiled by California's Department of Public Health. By polling local agencies, The Times database also gathers some information not provided by the state. The system has won praise from public health officials, who do not dispute its method of data collection.

The tallies here are mostly limited to residents of California, the standard method used to count patients by the state’s health authorities. Those totals do not include people from other states who are quarantined in California, such as the passengers and crew of the Grand Princess cruise ship that docked in Oakland.

Reusing the data

The Los Angeles Times is making coronavirus infections data available for use by researchers and scientists to aid in the fight against COVID-19.

The company's Terms of Service apply. By using the data, you accept and agree to follow the Terms of Services.

It states that "you may use the content online only, and solely for your personal, non-commercial use, provided you do not remove any trademark, copyright or other notice from such Content," and that, "no other use is permitted without prior written permission of Los Angeles Times."

Reselling the data is forbidden. Any use of these data in published works requires attribution to the Los Angeles Times.

To inquire about reuse, please contact Data and Graphics Editor Ben Welsh at [email protected].

Examples of reuse

Data dictionary

latimes-agency-totals.csv

The total cases and deaths logged by local public health agencies each day. Each row contains the cumulative totals reported by a single agency as of that date.

Most counties have only one agency except for Alameda and Los Angeles counties, where some cities run independent health departments. In Alameda County, the city of Berkeley is managed independently. In Los Angeles County, Pasadena and Long Beach are managed independently. These cities' totals are broken out into separate rows. In order to calculate county-level totals, you must aggregate them together using the county field.

field type description
agency string The name of the county or city public health agency that provided the data. Guaranteed to be unique when combined with the date field.
county string The name of the county where the agency is based.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
date date The date when the data were retrieved in ISO 8601 format.
confirmed_cases integer The cumulative number of confirmed coronavirus cases as of this date.
deaths integer The cumulative number of deaths attributed to coronavirus as of this date.
recoveries integer The cumulative number of recovered cases as of this date. Only some agencies provide this data.
did_not_update boolean Indicates if the agency did not provide an update on this date. If this is true and the case and death totals are unchanged from the previous day, this means they were holdovers. Use this flag omit these records when desired.

latimes-county-totals.csv

The county-level totals of cases and deaths logged by local public health agencies each day. This is a derived table. Each row contains the aggregation of all local agency reports in that county logged by Los Angeles Times reporters and editors in latimes-agency-totals.csv.

It comes with all of the same caveats as its source. It is included here as a convenience.

field type description
county string The name of the county where the agency is based.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
date date The date when the data were retrieved in ISO 8601 format.
confirmed_cases integer The cumulative number of confirmed coronavirus case at that time.
deaths integer The cumulative number of deaths at that time.
new_confirmed_cases integer The net change in confirmed cases over the previous date.
new_deaths integer The net change in deaths over the previous date.

latimes-state-totals.csv

The statewide total of cases and deaths logged by local public health agencies each day. This is a derived table. Each row contains the aggregation of all local agency reports logged by Los Angeles Times reporters and editors in latimes-agency-totals.csv.

It comes with all of the same caveats as its source. It is included here as a convenience.

field type description
date date The date when the data were retrieved in ISO 8601 format.
confirmed_cases integer The cumulative number of confirmed coronavirus case at that time.
deaths integer The cumulative number of deaths at that time.
new_confirmed_cases integer The net change in confirmed cases over the previous date.
new_deaths integer The net change in deaths over the previous date.

latimes-place-totals.csv

Most counties break out the location of cases within their service area. The Times is gathering and consolidating these lists. Each row contains cumulative case totals reported in that area as of that date.

The following counties currently do not report cases by locality: Alpine, Colusa, Fresno, Glenn, Lassen, Mariposa, Modoc, San Benito, Tehama and Tuolumne.

Different counties provide different geography types. Some provide data by region, some by Census designation, some by ZIP Code. The locations provided by Los Angeles County correspond to the public health department's official "Countywide Statistical Areas". Locations can be mapped after being joined to the shapes in latimes-places-polygons.geojson using the id column.

Be aware that some counties have shifted the place names used over time.

In some circumstances the true total of cases is obscured. Los Angeles and Orange counties decline to provide the precise number of cases in areas with low populations and instead provide a potential range. The lowest number in the range is entered into the record in the confirmed_cases field and an accompanying note includes the set of possible values.

field type description
id string The unique identifier of the city, neighborhood or other area.
name string The name of the city, neighborhood or other area.
date date The date when the data were retrieved in ISO 8601 format.
county string The name of the county where the city is located.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
confirmed_cases integer The cumulative number of confirmed coronavirus case at that time.
note string In cases where the confirmed_cases are obscured, this explains the range of possible values.
population integer The number of residents in the area. Not available for all places.

latimes-place-polygons.geojson

A map of sub-county areas where cases are tracked.

Different counties provide different geography types. Some provide data by region, some by Census designation, some by ZIP Code. The locations provided by Los Angeles County correspond to the public health department's official "Countywide Statistical Areas". Locations can be analyzed after being joined to the case counts in the latimes-places-totals.csv using the id column.

This file is a combination of dozens of different data files collected by Times reporters. Some shapes from county officials who maintain their own maps, others were scraped from county dashboards. In some cases, Census maps are used.

In some cases, the precise area being tracked by local officials is unclear. What you will find here is the best effort of Times reporters to represent what's been released. If you see any errors, please contact [email protected].

field type description
id string The unique identifier of the city, neighborhood or other area.
name string The name of the city, neighborhood or other area.
county string The name of the county where the city is located.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
centroid_x float The longitude of the place.
centroid_y float The latitude of the place.
population integer The number of residents in the area. Not available for all places.

latimes-agency-websites.csv

The 61 local-health agency websites that the Los Angeles Times consults to conduct its survey.

field type description
county string The name of the county where the city is located.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
agency string The name of the county or city public health agency.
url string The location of the agency's website on the World Wide Web.

cdph-age.csv

Statewide demographic data tallying totals by age for both cases and deaths. Provided by the California Department of Public Health.

field type description
date date The date when the data were retrieved in ISO 8601 format.
age string The age bracket being tallied
confirmed_cases_total integer The cumulative number of confirmed coronavirus case amoung this age bracket at that time.
confirmed_cases_percent float The case totals percentage of the total in this age bracket
deaths_total integer The cumulative number of deaths case amoung this age bracket at that time.
deaths_percent float The death totals percentage of the total in this age bracket.

cdph-hospital-patient-county-totals.csv

California's Department of Public Health is releasing county-level hospitalization totals.

field type description
date date The date for which hospital data were reported in ISO 8601 format.
county string The name of the county.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
positive_patients integer The current number confirmed coronavirus cases in hospitals on this date.
suspected_patients integer The current number suspected coronavirus cases in hospitals on this date.
icu_positive_patients integer The current number confirmed coronavirus cases in intensive-care units on this date.
icu_suspected_patients integer The current number suspected coronavirus cases in intensive-care units on this date.
icu_available_beds integer The current number open and avilable intensive-care beds on this date.

cdph-state-totals.csv

Totals published by the California Department of Public Health in its daily press releases. Each row contains all numbers included in that day's release.

This file includes cases and deaths, the age of victims, transmission types, tests and hospitalizations. The state has stopped supplying some fields and began supplying some others over time. Deprecated fields have been maintained in this file and are noted below.

Due to bureaucratic lags, the state's totals for cases and deaths arrive slower than The Times numbers, which are generated by surveying local agencies. The state's methods for collecting testing data have struggled with errors and delays.

Some dates are missing because the state did not publish a press release for that day.

field type description
date date The date when the data were retrieved in ISO 8601 format.
confirmed_cases integer The cumulative number of confirmed coronavirus case at that time.
deaths integer The cumulative number of deaths at that time.
travel integer The number of cases acquired while traveling. The state stopped publishing it on March 24.
person_to_person integer The number of cases acquired from close contacts and family members. The state stopped publishing it on March 24.
community_spread integer The number of cases acquired from community spread. The state stopped publishing it on March 29.
under_investigation integer The number of cases acquired from an unknown source. The state stopped publishing it on March 24.
other_causes integer The number of cases acquired from other sources. On March 24 the state began combining this figure with travel, person-to-person and under investigation cases. On March 29 the state stopped publishing it.
self_monitoring integer The number of people in a form of isolation monitored by the state. The state stopped publishing it on March 19.
age_0_to_17 integer The number of confirmed cases involving a person between 0 and 18 years old.
age_18_to_49 integer The number of confirmed cases involving a person between 18 and 49 years old.
age_50_to_64 integer The number of confirmed cases involving a person between 50 and 64 years old.
age_65_and_up integer The number of confirmed cases involving a person 65 of older.
age_18_to_64 integer The number of confirmed cases involving a person between 18 and 64 years old. The state stopped publishing it on March 23.
age_unknown integer The number of confirmed cases involving a person of unknown age.
gender_male integer The number of confirmed cases involving a male.
gender_female integer The number of confirmed cases involving a female.
gender_unknown integer The number of confirmed cases involving a a person of unknown gender.
total_tests integer The total number of tests conducted.
received_tests integer The number of tests results received. The state stopped publishing this field in April 24.
pending_tests integer The number of tests resuts that are still pending. The state stopped publishing this field in April 24.
confirmed_hospitalizations integer The total number of hospitalizations with a confirmed case of COVID-19.
confirmed_icu integer The number of ICU hospitalizations with a confirmed case of COVID-19.
suspected_hospitalizations integer The total number of hospitalizations with a suspected case of COVID-19.
suspected_icu integer The number of ICU hospitalizations with a suspected case of COVID-19.
healthcare_worker_infections integer The total number of healthcare workers who have tested positive for COVID-19.
healthcare_worker_deaths integer The total number of healthcare workers who have died from COVID-19.
vaccine_doses_administered integer The total number of vaccine doses given out.
vaccine_doses_distributed integer The total number of vaccine doses available in the state.
source_url string The URL to the state press release.

cdph-population-race-ethnicity.csv

The breakdown of the population by race and ethnicity statewide and in each of the 58 counties, as provided by the California Department of Public Health.

field type description
county string The name of the county. The state of California also included as a row.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
aian float The percentage of people in the area who are American Indian or Alaska Native
asian float The percentage of people in the area who are Asian
black float The percentage of people in the area who are Black
latino float The percentage of people in the area who are Latino
multirace float The percentage of people in the area who are multirace
nhpi float The percentage of people in the area who are Native Hawaiian or Pacific Islander
other float The percentage of people in the area who are of another race
unknown float The percentage of people in the area who are of unknown race
white float The percentage of people in the area who are white

cdph-positive-test-rate.csv

All of the data used by The Times to estimate how many recent tests have come back positive. The daily tallies of new cases and tests are drawn from cdph-state-totals.csv.

field type description
date date The date when the data were retrieved in ISO 8601 format.
confirmed_cases integer The cumulative number of confirmed coronavirus case at that time.
total_tests integer The total number of tests conducted.
new_confirmed_cases integer The number of new confirmed cases compared to the previous date.
new_tests integer The number of new tests compared to the previous date.
new_confirmed_cases_seven_day_total integer The total number of new confirmed cases in the previous seven days.
new_tests_seven_day_total integer The total number of new tests in the previous seven days.
positive_test_rate_seven_day_percent float The positive test rate over the past seven days, calculated by dividing the number of new confirmed cases over that time into the number of new tests.

cdph-race-ethnicity.csv

Statewide demographic data tallying race totals by age for both cases and deaths. Provided by the California Department of Public Health.

The original race categories published by the state have been grouped and aggregated to match the five race categories traditionally published by the Los Angeles Times.

field type description
date date The date when the data were retrieved in ISO 8601 format.
race string The race being tallied.
age string The age bracket being tallied
confirmed_cases_total integer The cumulative number of confirmed coronavirus case amoung this race and age at that time.
confirmed_cases_percent float The case totals percentage of the total in this age bracket
deaths_total integer The cumulative number of deaths case amoung this race and age at that time.
deaths_percent float The death totals percentage of the total in this age bracket.
population_percent float The race's percentage of the overall state population in this age bracket.

cdph-regional-stay-home-metrics.csv

In December 2020, the state introduced a new system for issuing stay home orders. The state's 58 counties were grouped into six regions and judged based on the percentage of available ICU beds. When the percentage available beds dropped below 15%, a stay home order restricting businesses and movement would be issued.

This file records the metrics released for each region by day.

field type description
date date The date when the data were collected in ISO 8601 format.
region string The name of the region.
icu_capacity_percent float The percentage of ICU beds in the region that were available on that date
stay_home_order string An indicator of whether or not a stay home order was in effect for the region on that date. The range of values is pending, yes and no.

cdph-reopening-metrics.csv

In August 2020, the state introduced a new framework for deciding when and how counties can reopen. Under the regime, each county is assigned to one of four tiers based on a set of metrics developed by state officials.

This file records the metrics released for each county by day. Definition of the benchmarks can be found on the state's website.

field type description
date date The date when the data were collected in ISO 8601 format.
county string The name of the county.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
percapita_case_rate float The number of new cases in a recent seven-day period — excluding cases at prisons and jails — adjusted for population and multiplied by 100,000.
adjusted_case_rate float The percapita_case_rate adjusted to account for the volume of testing in the area. Not done for all counties.
positivity_rate float The percentage of tests for the virus that come back positive in a recent seven-day period.
equity_metric float An index measuring disparities in disadvantaged neighborhoods compared to the county overall. Many small counties are exempted. Added Oct. 6, 2020

cdph-reopening-tiers.csv

In August 2020, the state introduced a new framework for deciding when and how counties can reopen. Under the regime, each county is assigned to one of four tiers based on a set of metrics developed by state officials.

This file records the current tier of each county by day. The definition for each group can be found on the state's website.

field type description
date date The date when the data were collected in ISO 8601 format.
county string The name of the county.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
tier integer The tier the county was classified in on this date. There are four possible values on an ordinal scale with one being the most restrictive and four the least restrictive.

cdph-vaccination-county-totals.csv

California's Department of Public Health releases county-level vaccination totals via a Tableau dashboard. Our team extracts and logs the data each day.

field type description
date date The date for which data were reported in ISO 8601 format.
county string The name of the county.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
doses_administered integer The total number of doses given as of this date.
new_doses_administered integer The number of new doses compared to the previous date.

cdph-vaccination-state-totals.csv

California's Department of Public Health is releasing state-level vaccination totals via a Tableau dashboard. Our team extracts and logs the data each day.

field type description
date date The date for which data were reported in ISO 8601 format.
doses_administered integer The total number of doses given as of this date.
new_doses_administered integer The number of new doses compared to the previous date.
doses_delivered integer The number of doses delivered to the state for use as of this date.

cdph-adult-and-senior-care-facilities.csv

California's Department of Public Health is listing the residential care facilities for the elderly and adult residential facilities across the state with COVID-19 outbreaks.

These are also sometimes known as assisted-living facilities. In some circumstances the true total of cases is obscured. The lowest number in the range is entered into the record in the staff or patients field and an accompanying note field includes the set of possible values.

field type description
date date The date when the data were retrieved in ISO 8601 format.
name string The name of the nursing home.
county string The name of the county where the city is located.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
staff_confirmed_cases integer The cumulative number of confirmed coronavirus case amoung staff at that time.
patients_confirmed_cases integer The cumulative number of confirmed coronavirus case amoung patients at that time.
staff_confirmed_cases_note string In cases where the staff_confirmed_cases are obscured, this explains the range of possible values.
patients_confirmed_cases_note string In cases where the patients_confirmed_cases are obscured, this explains the range of possible values.
staff_deaths integer The cumulative number of deaths amoung staff at that time.
patients_deaths integer The cumulative number of deaths amoung patients at that time.
staff_deaths_note string In cases where the staff_deaths are obscured, this explains the range of possible values.
patients_deaths_note string In cases where the patients_deaths are obscured, this explains the range of possible values.

cdph-adult-and-senior-care-totals.csv

California's Department of Social Services is releasing totals tracking the cumulative number of cases and deaths at the state's residential care facilities for the elderly and adult residential facilities. The source documents are available in the pdf/adult-and-senior-care/ directory of this repository.

These are also sometimes known as assisted-living facilities. Counts for staff and patients are combined in this dataset into a single total.

field type description
date date The date when the data were retrieved in ISO 8601 format.
confirmed_cases integer The cumulative number of confirmed coronavirus case amoung staff and patients at that time.
deaths integer The cumulative number of deaths case amoung staff and patients at that time.
active_cases integer The number of active coronavirus case at that time.
source_url string The URL to the state data release.

cdph-skilled-nursing-facilities.csv

California's Department of Social Services is listing the skilled-nursing facilities across the state with COVID-19 outbreaks. The source documents are available in the pdf/adult-and-senior-care/ directory of this repository.

In some circumstances the true total of cases is obscured. The lowest number in the range is entered into the record in the staff or patients field and an accompanying note field includes the set of possible values.

field type description
date date The date when the data were retrieved in ISO 8601 format.
id string The facility's unique identifier with the state.
name string The name of the skilled-nursing facility.
county string The name of the county where the city is located.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
staff_confirmed_cases integer The current number of confirmed coronavirus case amoung staff at that time.
patients_confirmed_cases integer The current number of confirmed coronavirus case amoung patients at that time.
staff_confirmed_cases_note string In cases where the staff_confirmed_cases are obscured, this explains the range of possible values.
patients_confirmed_cases_note string In cases where the patients_confirmed_cases are obscured, this explains the range of possible values.
staff_deaths integer The cumulative number of deaths case amoung staff at that time.
patients_deaths integer The cumulative number of deaths case amoung patients at that time.
staff_deaths_note string In cases where the staff_deaths are obscured, this explains the range of possible values.
patients_deaths_note string In cases where the patients_deaths are obscured, this explains the range of possible values.

cdph-skilled-nursing-totals.csv

California's Department of Public Health is releasing totals tracking the cumulative number of cases and deaths at the state's skilled nursing facilities.

In some circumstances the true total of cases is obscured. The lowest number in the range is entered into the record in the staff or patients field and an accompanying note field includes the set of possible values.

field type description
date date The date when the data were retrieved in ISO 8601 format.
staff_active_cases integer The number of active coronavirus case among staff at that time.
patients_active_cases integer The number of active coronavirus case amoung patients at that time.
staff_confirmed_cases integer The cumulative number of confirmed coronavirus case among staff at that time.
patients_confirmed_cases integer The cumulative number of confirmed coronavirus case among patients at that time.
staff_deaths integer The cumulative number of deaths case among staff at that time.
patients_deaths integer The cumulative number of deaths case among patients at that time.
staff_deaths_note string In cases where the staff_deaths are obscured, this explains the range of possible values.
source_url string The URL to the state data release.

cdph-nursing-home-county-totals.csv

The total number of cases and deaths in skilled-nursing facilities, residential care facilities for the elderly and adult residential facilities aggregated by county.

These numbers are calculated by The Times using the facilities lists above. The state chooses not to provide precise numbers at facilities with fewer than 10 cases. When totaling by county, The Times substitutes the minimum value of one. The result is that the tallies are likely an undercount and should be considered the minimum possible value.

field type description
date date The date when the data were retrieved in ISO 8601 format.
county string The name of the county where the city is located.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
minimum_staff_confirmed_cases integer The minimum number of cumulative confirmed coronavirus case amoung staff at that time.
minimum_patients_confirmed_cases integer The minimum number of cumulative confirmed coronavirus case amoung patients at that time.
minimum_staff_deaths integer The minimum number of cumulative deaths amoung staff at that time.
minimum_patients_deaths integer The minimum number of cumulative deaths amoung patients at that time.

cdcr-prison-totals.csv

The cases, resolutions and deaths among inmates at the individual prison facilities operated by the California Department of Corrections and Rehabilitation.

The data is currently limited to July 22, 2020, forward.

field type description
date date The date when the data were collected in ISO 8601 format.
code string The unique identifier of the prison institution.
name string The name of the prison institution.
city string The city where the prison institution is located.
county string The county where the prison institution is located.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
zipcode string The ZIP Code where the agency is located.
x float The longitude of the area's centroid.
y float The latitude of the area's centroid.
confirmed_cases integer The cumulative number of confirmed coronavirus case at that time.
new_confirmed_cases integer The net change in confirmed cases over the previous date.
active_cases integer The number of active coronavirus case at that time.
released_cases integer The cumulative number of coronavirus cases released from the prison at that time.
resolved_cases integer The cumulative of coronavirus case where the patient ultimately recovered or had their cases otherwise resolved at that time.
deaths integer The cumulative number of deaths at that time.
new_deaths integer The net change in deaths over the previous date.

cdcr-state-totals.csv

The total number of cases amoung inmates at prisons run by the California Department of Corrections and Rehabiliation.

field type description
date date The date when the data were collected in ISO 8601 format.
confirmed_cases integer The cumulative number of confirmed coronavirus case at that time.
new_confirmed_cases integer The net change in confirmed cases over the previous date.
active_cases integer The number of active coronavirus case at that time.

latimes-beach-closures-area-list.csv

The subcounty-level restrictions on beach access, compiled by the Los Angeles Times based on data released by the California Coastal Commission.

field type description
county string The name of the county where the agency is based.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
area string The name of the sub-county area being tracked.
state_park boolean An indicator if this area is a state park.
restriction string A description of the current level of restriction in this area.

latimes-beach-closures-county-list.csv

The county-level restrictions on beach access, compiled by the Los Angeles Times based on data released by the California Coastal Commission.

field type description
county string The name of the county where the agency is based.
fips string The FIPS code given to the county by the federal government. Can be used to merge with other data sources.
status string A Times classification of the current level of restriction in this county
restriction string A description of the current level of restriction in this county

los-angeles-countywide-statistical-areas.json

A GeoJSON file mapping out statistical tabulation areas created by the Los Angeles County Department of Public Health. Place-level data released by Los Angeles County correspond to these areas. Acquired via a California Public Records Act request.

field type description
type string The type of area being mapped. Options are City andUnincorporated
city string The name of the area's municipal parent, if it has one.
community string The name of the area.
label boolean A combination of the area's name and city. Creates a unique string.
centroid_x float The longitude of the area's centroid.
centroid_y float The latitude of the area's centroid.

latimes-project-roomkey-totals.csv

Los Angeles County officials have launched an unprecedented effort to shield 15,000 homeless people from the coronavirus by moving them into hotel rooms. The Times is tracking the latest data from the Los Angeles County Emergency Operations Center and the Los Angeles County Department of Public Health.

field type description
date date The date on which data were reported in ISO 8601 format.
people_housed integer The current number of homeless people in Los Angeles County housed on this date.
leased_rooms integer The current number hotel rooms leased on this date.
rooms_ready_to_occupy integer The subset of leased rooms that were ready to occupy on this date.
rooms_occupied integer The subset of ready rooms that were occupied on this date.
homeless_confirmed_cases integer The cumulative number of homeless people in Los Angeles County that had tested positive by this date.

Getting started

The data published here can be easily imported to any data analysis tool, ranging from a simple spreadsheet to a more sophisticated analysis framework. This repository has be pre-configured to work with the Python computer-programming language and a Jupyter computational notebook. You can install and run the code locally on your computer, or on the web with Binder.

Installing locally

Make a fork of this repository, clone it to your computer, then move into the directory.

cd california-coronavirus-data

Install the Python tools you need with pipenv.

pipenv install

Start the Jupyter Lab programming environment.

pipenv run jupyter lab

Check out the example notebook at notebooks/examples.ipynb.

Running online with Binder

Binder

Click on the Binder badge above and this repository will boot up inside the site's system for running Jupyter notebooks over the web. After a few minutes you should have an Jupyter Lab environment up and running.

How you can help

This survey is conducted by The Times' Data and Graphics Department. If you'd like to support its effort to keep California and the nation informed, the best thing you can do is buy a digital subscription and encourage others to do the same. The coronavirus pandemic has had a significant effect on the country's economy and the news industry is no exception. Without support from readers like you projects like this would not be possible.

Contact

To inquire about the data or about reuse, please contact Data and Graphics Editor Ben Welsh at [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].