Jacob Kaplan's Concatenated Files: Uniform Crime Reporting Program Data: Law Enforcement Officers Killed and Assaulted (LEOKA) 1960-2018
- Kaplan, Jacob (University of Pennsylvania)
AbstractFor any questions about this data please email me at email@example.com. If you use this data, please cite it.
Version 7 release notes:
- Add data from 2018
Version 6 release notes:
- Adds data in the following formats: SPSS and Excel.
- Changes project name to avoid confusing this data for the ones done by NACJD.
- Adds data for 1960-1974 and 2017. Note: many columns (including number of female officers) will always have a value of 0 for years prior to 1971.
- Removes support for .csv and .sav files.
- Adds a number_of_months_reported variable for each agency-year. A month is considered reported if the month_indicator column for that month has a value of "normal update" or "reported, not data."
- The formatting of the monthly data has changed from wide to long.
This means that each agency-month has a single row. The old data had
each agency being a single row with each month-category (e.g.
jan_officers_killed_by_felony) being a column. Now there will just be a single column
for each category (e.g. officers_killed_by_felony) and the month can be identified in the
month column. This also results in most column names changing.
- As such, be careful when aggregating the monthly data since some variables are the same every month (e.g. number of officers employed is measured annually) so aggregating will be 12 times as high as the real value for those variables.
- Adds a date column. This date column is always set to the first of the month. It is NOT the date that a crime occurred or was reported. It is only there to make it easier to create time-series graphs that require a date input.
- All the data in this version was acquired from the FBI as text/DAT files and read into R using the package asciiSetupReader.
The FBI also provided a PDF file explaining how to create the setup
file to read the data. Both the FBI's PDF and the setup file I made are
included in the zip files. Data is the same as from NACJD but using all FBI files makes cleaning easier as all column names are already identical.
- Add data for 2016.
- Order rows by year (descending) and ORI.
- Fix bug where Philadelphia Police Department had incorrect FIPS county code.
The LEOKA data sets contain highly detailed data about the number of officers/civilians employed by an agency and how many officers were killed or assaulted.
All the data was acquired from the FBI as text/DAT files and read into R using the package asciiSetupReader. The FBI also provided a PDF file explaining how to create the setup file to read the data. Both the FBI's PDF and the setup file I made are included in the zip files.
About 7% of all agencies in the data report more officers or civilians than population. As such, I removed the officers/civilians per 1,000 population variables. You should exercise caution if deciding to generate and use these variables yourself.
Several agency had impossible large (>15) officer deaths in a single month. For those months I changed the value to NA. See the R code for a complete list.
For the R code used to clean this data, see here. https://github.com/jacobkap/crime_data.
The UCR Handbook (https://ucr.fbi.gov/additional-ucr-publications/ucr_handbook.pdf/view) describes the LEOKA data as follows:
"The UCR Program collects data from all contributing agencies ... on officer line-of-duty deaths and assaults. Reporting agencies must submit data on ... their own duly sworn officers feloniously or accidentally killed or assaulted in the line of duty. The purpose of this data collection is to identify situations in which officers are killed or assaulted, describe the incidents statistically, and publish the data to aid agencies in developing policies to improve officer safety.
"... agencies must record assaults on sworn officers. Reporting agencies must count all assaults that resulted in serious injury or assaults in which a weapon was used that could have caused serious injury or death. They must include other assaults not causing injury if the assault involved more than mere verbal abuse or minor resistance to an arrest. In other words, agencies must include in this section all assaults on officers, whether or not the officers sustained injuries."
- Add data from 2018
1960-01-01 / 2018-12-31Time Period: Fri Jan 01 00:00:00 EST 1960--Mon Dec 31 00:00:00 EST 2018
. Smallest Geographic Unit: Police agency jurisdiction
Is previous version of
Update Metadata: 2020-06-21 | Issue Number: 2 | Registration Date: 2020-04-27