Homicides in California

Homicides reported to the California DOJ by local law enforcement.

openjustice.doj.ca.gov-homicide-1.1.1. Modified 2020-06-18T00:08:12

Resources | Packages | Documentation| Contacts| References| Data Dictionary

Resources

Documentation

The Homicides in California file is publilshed by the California Department of Justices’s Open Justice site. It collects reports from local law enformcement. From the website:

Information on homicides in California are reported by various LEAs as part of the reporting requirements for the Federal Uniform Crime Reporting (UCR) Program. These data provide detailed information about the circumstances of each homicide in addition to personal characteristics of the victim.

Processing

The value label files were manually extracted from the data dictionary PDF. These files can be merged with the main homicide files to add human readable labels to the values for these columns:

  • precipitating_event
  • means_of_death
  • location
  • gender
  • relationship
  • race_ethnicity

The race_ethnicity column has two codes that map to the same race label for many race labels. For instance, both ‘1’ and ‘W’ are codes for the label ‘White’. These duplicate numeric codes have been replaced with the associated alpha code.

Contacts

Data Dictionary

homicides | precipitating_event_labels | means_of_death_labels | location_labels | gender_labels | relationship_labels | race_ethnicity_labels

homicides

Column NameData TypeDescription
countyintegerCounty
jurisdiction_ncicstringJurisdiction (NCIC)
bcs_numberintegerBCS number
victim_numberintegerVictim Number
month_of_reportintegerMonth of Report
year_of_reportintegerYear of Report
total_victimintegerTotal Victim
total_suspectsintegerTotal Suspects
genderintegerGender
race_ethnicitystringRace/Ethnicity
ageintegerAge
crime_statusintegerCrime Status
victim_offender_relationship_1integerVictim/Offender Relationship #2
victim_offender_relationship_2integerVictim/Offender Relationship #3
victim_offender_relationship_3integerVictim/Offender Relationship #4
victim_offender_relationship_4integerVictim/Offender Relationship #4
month_of_incidentintegerMonth of Incident
day_of_month_of_incidentintegerDay of month of Incident
year_of_incidentintegerYear of Incident
day_of_weekintegerDay of week
year_of_deathintegerYear of death
means_of_deathintegerMeans of death
locationintegerLocation where Assault Occured
precipitating_eventintegerPrecipitating Event
special_circumstanceintegerSpecial Circumstance/ Potential Death Penalty.

precipitating_event_labels

Column NameData TypeDescription
precipitating_eventinteger
precipitating_event_labeltext
subject_headingstring

means_of_death_labels

Column NameData TypeDescription
means_of_deathinteger
means_of_death_labelstring

location_labels

Column NameData TypeDescription
locationinteger
location_labelstring

gender_labels

Column NameData TypeDescription
genderinteger
gender_labelstring

relationship_labels

Column NameData TypeDescription
relationshipinteger
relationship_labelstring

race_ethnicity_labels

Column NameData TypeDescription
race_ethnicitystring
race_ethnicity_labelstring

References

Urls used in the creation of this data package.

Packages

Accessing Packages in Metapack

import metapack as mp
pkg = mp.open_package('http://library.metatab.org/openjustice.doj.ca.gov-homicide-1.1.1.csv')

# Create Dataframes
homicides_df = pkg.resource('homicides').dataframe()
homicide_justifiable_df = pkg.resource('homicide_justifiable').dataframe()
homicide_manslaughter_df = pkg.resource('homicide_manslaughter').dataframe()
precipitating_event_labels_df = pkg.resource('precipitating_event_labels').dataframe()
means_of_death_labels_df = pkg.resource('means_of_death_labels').dataframe()
location_labels_df = pkg.resource('location_labels').dataframe()
gender_labels_df = pkg.resource('gender_labels').dataframe()
relationship_labels_df = pkg.resource('relationship_labels').dataframe()
race_ethnicity_labels_df = pkg.resource('race_ethnicity_labels').dataframe()