File size: 11,363 Bytes
13422b2
 
01d684f
 
 
 
13422b2
ed41a15
01d684f
 
65b262d
3cba275
edd5ed6
8db66d0
 
3cba275
edd5ed6
3cba275
12725db
b646e45
83cac4e
01d684f
 
 
94a2783
01d684f
b5eb314
01d684f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4ba3b31
01d684f
4ba3b31
01d684f
4ba3b31
 
 
 
 
 
d26e663
4ba3b31
 
4805656
 
01d684f
 
 
 
 
fc35a60
01d684f
fc35a60
 
 
 
 
95e5010
fc35a60
 
 
4805656
4ba3b31
01d684f
0b74a2a
 
d5baf21
01d684f
 
 
5ecc891
d5f8464
 
 
 
 
 
 
 
 
 
 
 
 
 
8db66d0
 
 
 
 
d5f8464
 
0b74a2a
 
 
 
 
d5f8464
b646e45
0b74a2a
b646e45
 
0b74a2a
01d684f
 
 
 
dd475f1
01d684f
 
 
 
 
1ce6505
01d684f
 
 
d5baf21
b948e2c
27099d5
b948e2c
8db66d0
 
95e5010
b948e2c
27099d5
b948e2c
01d684f
 
95e5010
01d684f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
---
license: unknown
language:
- en
tags:
- legal
---
# North Carolina Police Incident Dataset
## Dataset Description

- **Homepage:** The processed dataset, which will soon be updated, is available at the following Huggingface portal: https://huggingface.co/datasets/zwn22/NC_Crime. For the raw datasets, their respective homepages are:
  - **Cary**:
    - [Cary Open Data Portal - CPD Incidents](https://data.townofcary.org/explore/dataset/cpd-incidents/information/?disjunctive.crime_category&disjunctive.crime_type&disjunctive.crimeday&disjunctive.district&disjunctive.offensecategory&disjunctive.violentproperty&disjunctive.total_incidents&disjunctive.year&sort=date_from)
  - **Chapel Hill**:
    - [Chapel Hill Open Data Portal - Police Incidents](https://opendata-townofchapelhill.hub.arcgis.com/datasets/a761c9be03ef474bbbf4a114778623c5/explore?filters=eyJEYXRlX29mX1JlcG9ydCI6WzEyNjIzMDYxNjAwMDAsMTY5ODcwOTA4MDAwMF19&showTable=true)
  - **Durham**:
    - [Durham Open Data Portal - DPD Incidents UCR/NIBRS Reporting](https://live-durhamnc.opendata.arcgis.com/documents/DurhamNC::dpd-incidents-ucr-nibrs-reporting/about)
  - **Raleigh**:
    - [Raleigh Open Data Portal - Police Incidents (NIBRS)](https://data.raleighnc.gov/datasets/ral::raleigh-police-incidents-nibrs/explore?filters=eyJyZXBvcnRlZF95ZWFyIjpbMjAyNCwyMDI0XX0%3D&location=35.779792%2C-78.678454%2C11.17&showTable=true)
  
- **Point of Contact:** For any issues related to the raw datasets, please reach out to the respective government offices. For inquiries or issues regarding the processed data, you can contact zwn22 at Huggingface.

### Dataset Summary

The dataset, derived from public police incident reports from various cities in North Carolina, spans from 2015 to 2024. The source data originate from the open data portals of Cary, Chapel Hill, Durham, and Raleigh. The dataset underwent a process of merging data from these cities, followed by cleaning to remove incomplete rows. Additionally, the dataset focuses on extracting and categorizing major crime types, providing valuable information such as crime type, time, location of occurrence, and other relevant details.

### Supported Tasks

1. **Crime Trend Analysis**: Analyzing crime trends over time and across different locations. This could involve identifying patterns in crime rates, seasonal variations, or shifts in the types of crimes committed.

2. **Predictive Policing**: Developing models to predict future crime occurrences based on historical data. This could help in resource allocation and proactive policing strategies.

3. **Geospatial Analysis**: Mapping crime incidents to identify hotspots and regions with higher crime rates. This can aid in understanding geographical factors influencing crime and in deploying resources more effectively.


### Languages

English

## Dataset Structure

### Data Instances

Here is an illustrative example from the processed dataset (note that specific details are subject to change):

```json
{
  "year": 2022,
  "city": "Raleigh",
  "crime_major_category": "Theft",
  "crime_specific_category": "Vehicle Theft",
  "latitude": 35.7796,
  "longitude": -78.6382,
  "occurance_time": "2022/05/20 12:00:00"
  "clear_status": "Cleared by Arrest",
  "incident_address": "123 Main St, Raleigh, NC",
  "notes": "Weapon: None",
  "crime_severity": "Minor"
}
```

### Data Fields

The dataset contains several fields, each providing specific information about police incidents. Here is a list of these fields along with their descriptions and data types:

- `year` (integer): The year in which the incident occurred. Used as input in temporal analysis tasks.
- `city` (string): The city where the incident took place. This field is crucial for geographic analyses and comparisons between cities.
- `crime_major_category` (string): A broad categorization of the crime, used as input for crime pattern analysis and categorization tasks.
- `crime_specific_category` (string): More detailed classification of the crime, falling under the major category. This field allows for a finer-grained analysis of crime types.
- `latitude` (float) and `longitude` (float): Geographical coordinates pinpointing the location of the incident. These fields are essential for geospatial analysis.
- `occurance_time` (datetime): The beginning time of the incident, providing temporal context. These fields are used in analyses that require time-based information.
- `clear_status` (string): The resolution status of the case, such as whether it was cleared by arrest or remains under investigation. This field can be used to understand case outcomes.
- `incident_address` (string): The specific address where the incident occurred. This field adds a detailed spatial dimension to the data.
- `notes` (string): Additional remarks or details about the incident, like weapon usage or other relevant factors. This field provides supplementary information that may be relevant for certain analyses.
- `crime_severity` (string): This column categorizes crime_major_category into three categories ("Minor", "Moderate", "Severe") according to crime severity.
## Dataset Creation

### Curation Rationale

The dataset, covering police incidents in select North Carolina cities from 2015 to 2024, aims to aid crime research. It provides a long-term view of crime patterns and trends, useful for criminologists, sociologists, and public policy researchers. The comprehensive data enables analyses of crime evolution and its socio-economic correlations. It also supports the development of predictive models for law enforcement and policy planning. Additionally, the dataset's multi-city scope allows for comparative studies to understand unique challenges and inform localized crime prevention strategies.

### Source Data

Four datasets are primarily utilized as source data:
- **Cary**:
  - [Cary Open Data Portal - CPD Incidents](https://data.townofcary.org/explore/dataset/cpd-incidents/information/?disjunctive.crime_category&disjunctive.crime_type&disjunctive.crimeday&disjunctive.district&disjunctive.offensecategory&disjunctive.violentproperty&disjunctive.total_incidents&disjunctive.year&sort=date_from)
  - Details:
    - Size: 116317 rows * 34 columns
    - Column names: 'Crime Category', 'Crime Type', 'UCR', 'Map Reference',
       'Incident Number', 'Begin Date Of Occurrence',
       'Begin Time Of Occurrence', 'End Date Of Occurrence',
       'End Time Of Occurrence', 'Crime Day', 'Geo Code', 'Location Category',
       'District', 'Beat Number', 'Location', 'ID', 'Lat', 'Lon',
       'Charge Count', 'Neighborhood ID', 'Apartment Complex',
       'Residential Subdivision', 'Subdivision ID', 'Phx Activity Date',
       'Phx Record Status', 'Phx Community', 'Phx Status', 'Record',
       'Offense Category', 'Violent Property', 'timeframe', 'domestic',
       'Total Incidents', 'Year'
- **Chapel Hill**:
  - [Chapel Hill Open Data Portal - Police Incidents](https://opendata-townofchapelhill.hub.arcgis.com/datasets/a761c9be03ef474bbbf4a114778623c5/explore?filters=eyJEYXRlX29mX1JlcG9ydCI6WzEyNjIzMDYxNjAwMDAsMTY5ODcwOTA4MDAwMF19&showTable=true)
  - Details:
    - Size: 101828 rows * 19 columns
    - Column names: 'Incident ID', 'Agency', 'Offense', 'Street', 'City', 'State', 'Zipcode', 'Date of Report', 'Date of Occurrence', 'Date Found', 'Reported As', 'Premise Description', 'Forcible', 'Weapon Description', 'Victim Age', 'Victim Race', 'Victim Gender', 'Latitude', 'Longitude'
- **Durham**:
  - [Durham Open Data Portal - DPD Incidents UCR/NIBRS Reporting](https://live-durhamnc.opendata.arcgis.com/documents/DurhamNC::dpd-incidents-ucr-nibrs-reporting/about)
  - Details:
    - Size: 149924 rows * 16 columns
    - Column names: 'Case Number', 'Report Date', 'Report Time', 'Status', 'Sequence',
       'ATT/COM', 'UCR Code', 'Offense', 'Address', 'X', 'Y', 'District',
       'Beat', 'Tract', 'Premise', 'Weapon'
- **Raleigh**:
  - [Raleigh Open Data Portal - Police Incidents (NIBRS)](https://data.raleighnc.gov/datasets/ral::raleigh-police-incidents-nibrs/explore?filters=eyJyZXBvcnRlZF95ZWFyIjpbMjAyNCwyMDI0XX0%3D&location=35.779792%2C-78.678454%2C11.17&showTable=true)
  - Details:
    - Size: 493912 rows * 19 columns
    - Column names: 'Case Number', 'Crime_Category', 'Crime Code', 'Crime Description', 'Crime Type', 'Reported Block Address', 'City of Incident', 'City', 'District', 'Reported Date', 'Reported Year', 'Reported Month', 'Reported Day', 'Reported Hour', 'Reported Day of Week', 'Latitude', 'Longitude', 'Agency', 'Updated_Date'
  
## Considerations for Using the Data

### Other Known Limitations

The interpretation rights of the dataset are reserved by the respective government authorities. It is subject to change, and the City of Raleigh, as an example, retains the right to modify or discontinue any of the data feeds at any given time. This includes the right to require termination of displaying, distributing, or using the data, for any reason, including but not limited to violations of the Terms of Use. Users should be aware that such changes can occur and that the dataset may evolve over time according to the decisions made by the governing bodies.

## Additional Information

### Dataset Curators

For detailed information regarding the individuals involved in collecting the dataset and their affiliations, as well as any funding details, interested parties are encouraged to directly contact the respective government offices.

### Licensing Information

The dataset from cities in North Carolina, including Cary, Chapel Hill, Durham, and Raleigh, is sourced from their respective open data portals, each with its specific licensing information and terms of use.

Cary's Open Data Portal operates under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. This allows for both commercial and non-commercial use, distribution, and adaptation of the data, as long as proper attribution is given and any derived works are shared under the same terms.

Chapel Hill's Open Data Portal is governed by the Open Database License (ODbL) 1.0 License. This license permits both commercial and non-commercial use, distribution, and modification of the data. Users are required to attribute the data appropriately and, if the data is altered or transformed, or if new datasets are built upon it, the resulting work must be distributed under the same ODbL 1.0 License. 

While Durham's Open Data Portals do not specify a particular license, its website states that the data is publicly accessible and can be freely used. Durham's portal is dedicated to making all government data available for public use without restrictions.

Raleigh's Open Data Policy stipulates that by using data from their site, users agree to the terms and conditions described under the City of Raleigh Open Data Privacy Policy. The City of Raleigh makes no warranties regarding the completeness, accuracy, or timeliness of the data, and disclaims all express or implied warranties, including those of merchantability or fitness for a particular purpose. Users should be aware that the data format or schema may change as updates are made, and they use the information at their own risk.

### Contributions

Thanks to Town of Cary, City of Chapel Hill, City of Durham, and City of Raleigh for providing the raw dataset.