crimes {rcrimeanalysis} | R Documentation |
Example data from the Chicago Data Portal
Description
A sample dataset of crime incidents in Chicago, IL from 2017-2019.
Usage
crimes
Format
A data frame with 25000 rows and 22 variables.
- id
Unique identifier for the record.
- case_number
The Chicago Police Department Records Division Number, which is unique to the incident.
- date
Date when the incident occurred.
- block
Partially redacted address where the incident occurred.
- iucr
Illinois Unifrom Crime Reporting code (directly linked to primary_type and description)
- primary_type
The primary description of the IUCR code.
- description
The secondary description of the IUCR code, a subcategory of the primary description.
- location_description
Description of the location where the incident occurred.
- arrest
Indicates whether an arrest was made.
- domestic
Indicates whether the incident was domestic-related as defined by the Illinois Domestic Violence Act.
- beat
Indicates the police beat where the incident occurred.
- district
Indicates the police district where the incident occurred.
- ward
The ward (City Council district) where the incident occurred.
- community_area
Indicates the community area where the incident occurred.
- fbi_code
Indicates the National Incident-Based Reporting System (NIBRS) crime classification.
- x_coordinate
X coordinate of the incident location (State Plane Illinois East NAD 1983 projection).
- y_coordinate
Y coordinate of the incident location (State Plane Illinois East NAD 1983 projection).
- year
Year the incident occurred.
- updated_on
Date and time the record was last updated.
- latitude
The latitude of the location where the incident occurred.
- longitude
The longitude of the location where the incident occurred.
- location
Concatenation of latitude and longitude.
Source
https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-present/ijzp-q8t2/data