
Last chance! 50% off unlimited learning
Sale ends in
This function identifies crime incidents which occur at the same location and returns a list of such incidents where each data frame in the list contains the RMS data for the repeat crime incidents. The data is based on the Chicago Police Department RMS structure.
id_repeat(data)
A list where each data frame contains repeat crime incidents for a given location.
Data frame of crime or RMS data. See provided Chicago Data Portal example for reference
Jamie Spaulding, Keith Morris
#Using provided dataset from Chicago Data Portal:
data(crimes)
crimes <- head(crimes, n = 1000)
out <- id_repeat(crimes)
Run the code above in your browser using DataLab