crimes {SDAResources}R Documentation

crimes data

Description

Data from selected variables in a simple random sample of 5,000 records from the 7,048,107 records with dates between 2001 and 2019 in the City of Chicago database "Crimes-2001 to Present". This file was downloaded on August 11, 2020 from https://data.cityofchicago.org/. These data are provided for pedagogical purposes only. Anyone wishing to publish analyses of Chicago crime data should obtain the most recent data from the website. For a list and map of Community Areas, see https://www.chicago.gov/city/en/depts/dgs/supp_info/citywide_maps.html.

Usage

data(crimes)

Format

This data frame contains the following columns:

year:

year in which crime occurred (between 2001 and 2019)

crimetype:

type of crime, determined from detailed crime description in database

homicide = homicide

sexualasslt = sexual assault

robbery = robbery

aggasslt = aggravated assault

burglary = burglary

mvtheft = motor vehicle theft

idtheft = identity theft

theft = other type of theft

arson = arson

simpleasslt = simple assault (assaults that are not aggravated)

threat = threat or harassment

fraud = fraud

weapon = weapons violation

trespass = trespassing

vandalism = vandalism

narcotics = narcotics or liquor law violation

other = other

violent:

= 1 if violent crime

= 0 otherwise

arrest:

= 1 if an arrest was made

= 0 otherwise

domestic:

= 1 if crime was domestic-related as defined by the Illinois Domestic Violence Act

= 0 otherwise

commarea:

number of the Community Area in Chicago where the crime occurred

location:

type of location where crime occurred (e.g. street, apartment)

References

Lohr (2021), Sampling: Design and Analysis, 3rd Edition. Boca Raton, FL: CRC Press.

Lu and Lohr (2021), R Companion for Sampling: Design and Analysis, 3rd Edition, 1st Edition. Boca Raton, FL: CRC Press.


[Package SDAResources version 0.1.1 Index]