state crime icon

State Crime Python Library

From the CORGIS Dataset Project

By Ryan Whitcomb, Joung Min Choi and Bo Guan
Version 3.0.0, created 10/19/2021
Tags: crime, burglary, larceny, motor, property, violent, assault, murder, rape, robbery

Overview

From the Unified Crime Reporting Statistics and under the collaboration of the U.S. Department of Justice and the Federal Bureau of Investigation information crime statistics are available for public review. The following data set has information on the crime rates and totals for states across the United States for a wide range of years. The crime reports are divided into two main categories: property and violent crime. Property crime refers to burglary, larceny, and motor related crime while violent crime refers to assault, murder, rape, and robbery. These reports go from 1960 to 2019.

https://ucr.fbi.gov/crime-in-the-u.s/2019/crime-in-the-u.s.-2019/downloads/download-printable-files

Explore Structure

Each row represents Reports of state crime cases for each state on a given year.

Index Type Example Value
0 dict { }
1 dict (same structure)
2 dict (same structure)
... ... ...
Key Type Example Value Description
"State" str "Alabama" The long name of the state that this report was made for.
"Year" int 1960 The year that this report was made in.
"Data" dict { }
Key Type Example Value Description
"Population" int 3266740 The number of people living in this state at the time the report was created.
"Rates" dict { }
"Totals" dict { }
Key Type Example Value Description
"Property" dict { }
"Violent" dict { }
Key Type Example Value Description
"All" float 1035.4 Rates are the number of reported offenses per 100,000 population. This property reflects all of the Property-related crimes, including burglaries, larcenies, and motor crimes.
"Burglary" float 355.9 Rates are the number of reported offenses per 100,000 population. This property reflects the number of burglaries, or entry into a building illegally with intent to commit a crime, especially theft.
"Larceny" float 592.1 Rates are the number of reported offenses per 100,000 population. This property reflects the number of burglaries, or theft of personal property.
"Motor" float 87.3 Rates are the number of reported offenses per 100,000 population. This property reflects the number of crimes where a motor vehicle was stolen.
Key Type Example Value Description
"All" float 186.6 Rates are the number of reported offenses per 100,000 population. This property reflects all of the Violent crimes, including assaults, murders, rapes, and robberies.
"Assault" float 138.1 Rates are the number of reported offenses per 100,000 population. This property reflects the number of crimes where someone made an attempt to initiate harmful or offensive contact with a person, or made a threat to do so.
"Murder" float 12.4 Rates are the number of reported offenses per 100,000 population. This property reflects the number of crimes where someone committed the unlawful killing of another human being without justification.
"Rape" float 8.6 Rates are the number of reported offenses per 100,000 population. This property reflects the number of crimes where someone committed rape. The FBI UCR definition of rape, before 2013, is the carnal knowledge of a female forcibly and against her will.
"Robbery" float 27.5 Rates are the number of reported offenses per 100,000 population. This property reflects the number of crimes where someone took or attempted to take anything of value by force or threat of force or by putting the victim in fear.
Key Type Example Value Description
"Property" dict { }
"Violent" dict { }
Key Type Example Value Description
"All" int 33823 This property reflects all of the Property-related crimes, including burglaries, larcenies, and motor crimes.
"Burglary" int 11626 This property reflects the number of burglaries, or entry into a building illegally with intent to commit a crime, especially theft.
"Larceny" int 19344 This property reflects the number of burglaries, or theft of personal property.
"Motor" int 2853 This property reflects the number of crimes where a motor vehicle was stolen.
Key Type Example Value Description
"All" int 6097 This property reflects all of the Violent crimes, including assaults, murders, rapes, and robberies.
"Assault" int 4512 This property reflects the number of crimes where someone made an attempt to initiate harmful or offensive contact with a person, or made a threat to do so.
"Murder" int 406 This property reflects the number of crimes where someone committed the unlawful killing of another human being without justification.
"Rape" int 281 This property reflects the number of crimes where someone committed rape. The FBI UCR definition of rape, before 2013, is the carnal knowledge of a female forcibly and against her will.
"Robbery" int 898 This property reflects the number of crimes where someone took or attempted to take anything of value by force or threat of force or by putting the victim in fear.

Downloads

Download all of the following files.

  1. state_crime.py
  2. state_crime.data

Usage

import state_crime
report = state_crime.get_report()

Documentation

get_report()
Returns a list of dictionaries representing report.