Learn R Programming

spatstat (version 1.48-0)

chicago: Chicago Street Crime Data

Description

This dataset is a record of street crimes reported in the period 25 April to 8 May 2002, in an area of Chicago (Illinois, USA) close to the University of Chicago. The original street crime map was published in the Chicago Weekly News in 2002. The data give the spatial location of each crime, and the type of crime. The type labels are interpreted as follows:
assault
battery/assault
burglary
burglary
cartheft
motor vehicle theft
damage
criminal damage
robbery
robbery
theft
theft
All crimes occurred on or near a street. The data give the coordinates of all streets in the survey area, and their connectivity.

The dataset chicago is an object of class "lpp" representing a point pattern on a linear network. See lpp for further information on the format.

These data were published and analysed in Ang, Baddeley and Nair (2012).

Usage

data(chicago)

Arguments

Format

Object of class "lpp". See lpp.

Source

Chicago Weekly News, 2002. Manually digitised by \adrian.

References

Ang, Q.W. (2010) Statistical methodology for events on a network. Master's thesis, School of Mathematics and Statistics, University of Western Australia. Ang, Q.W., Baddeley, A. and Nair, G. (2012) Geometrically corrected second-order analysis of events on a linear network, with applications to ecology and criminology. Scandinavian Journal of Statistics 39, 591--617.

Chicago Weekly News website: www.chicagoweeklynews.com

Examples

Run this code
data(chicago)
plot(chicago)
plot(as.linnet(chicago), main="Chicago Street Crimes",col="green")
plot(as.ppp(chicago), add=TRUE, col="red", chars=c(16,2,22,17,24,15,6))

Run the code above in your browser using DataLab