Workflow using ArcGIS Online
Get the data for the analysis.
- Sign in to your ArcGIS Online account.
- Search for CrimeAnalysisData. When it displays, select Add layer to new map.
You will likely see a message indicating the layer did not draw completely. Ignore this message. While not all crime events will draw, your analyses below will apply to all of the data.
Create a hot spot map of violent crime densities.
- Hover over the Violent Crime 2014 layer and click the perform analysis button . Select Analyze Patterns and the Find Hot Spots tool.
- Specify that you want to Find clusters of high and low Point Counts, to Count points within a Fishnet Grid and to use the Analysis Boundary layer to Define where points are possible. In addition, provide a Result layer name such as ViolentCrimeHotSpots. You may want to click Show credits to see how many credits will be consumed before you run the analysis.
Hot spot with 99 percent confidence | Cold spot with 90 percent confidence |
Hot spot with 95 percent confidence | Cold spot with 95 percent confidence |
Hot spot with 90 percent confidence | Cold spot with 99 percent confidence |
Not statistically significant |
Create a hot spot map of liquor vendors to compare to the violent crime hot spot map.
- Hover over the Liquor Vendors layer and click the perform analysis button . Again, select Analyze Patterns and the Find Hot Spots tool.
- To make sure this new hot spot map lines up with the previous one, use the Violent Crime Hot Spots result layer for the Count points within parameter. Also specify a Result layer name such as LiquorVendorHotSpots. You may want to click Show credits to see how many credits will be consumed before running the analysis.
Now you can visually compare the hot spot maps to see where their activity spaces overlap.
Hot spot with 99 percent confidence | Cold spot with 90 percent confidence |
Hot spot with 95 percent confidence | Cold spot with 95 percent confidence |
Hot spot with 90 percent confidence | Cold spot with 99 percent confidence |
Not statistically significant |
Get poverty data for each of the polygon grids in the violent crime hot spot analysis layer.
The Enrich Layer tool always provides the most current data available. Your results may look different below if you are using more current data. The field for Households with Income Below Poverty Level might be for 2010-2014, for example, or it may be even more current.
- Hover over the ViolentCrimeHotSpots layer and click the perform analysis button . Click Data Enrichment and select the Enrich Layer tool.
- Click the Select Variables button to see the variable categories. Select Poverty, click on Households with Income Below Poverty Level, and click Apply. Provide a name, such as PovertyData, for the result layer. Uncheck Use current map extent. You may want to check how many credits will be consumed prior to running the analysis.
The new layer with the data you selected is added to the map. You may see a message indicating the layer didn't draw completely, but be assured, you did receive data for the entire study area.
Create a hot spot map of poverty.
- Hover over the PovertyData layer and click the perform analysis button again. Select Analyze Patterns and the Find Hot Spots tool.
- Set the Find clusters of high and low parameter to the variable for households with incomes below the poverty level. Specify an output results layer name, such as PovertyHotSpots, and run the analysis. Uncheck Use current map extent.
Hot spot with 99 percent confidence | Cold spot with 90 percent confidence |
Hot spot with 95 percent confidence | Cold spot with 95 percent confidence |
Hot spot with 90 percent confidence | Cold spot with 99 percent confidence |
Not statistically significant |
Overlay the violent crime, liquor vendor, and poverty hot spot maps to find where they overlap.
- Begin by selecting the features of interest. For the violent crime hot spots, liquor vendor hot spots, and poverty hot spots, filter only those locations where the Gi_Bin Fixed 4554_FDR field is 3 (this is the code for statistically significant hot spots at the 99 percent confidence level). To bring up the Filter panel, hover over a layer to reveal the action buttons and click filter .
- Next, use the Overlay Layers tool to find the intersection among all of the filtered hot spot maps. Hover over the violent crimes hot spot layer then click the perform analysis button . Select Manage Data and the Overlay Layers tool. Specify the liquor vendor hot spot layer for the Choose overlay layer parameter, provide a result name such as iCrimeLiquor, and run the analysis.
- Finally, hover over the output from the first overlay operation and click the perform analysis button . Select Manage Data and the Overlay Layers tool as you did before. Specify the poverty hot spot layer for the Choose overlay layer parameter, and run the tool again. The resulting output layer is the overlap among all three of the filtered hot spot maps.
You will recommend the overlap areas in the map above for remediation efforts aimed at limiting access to alcohol.
Analyze violent crime trends.
The space-time pattern mining tools are not currently available in ArcGIS Online but you can create the crime trend map you need using ArcMap or using ArcGIS Pro. You can then publish the results to your ArcGIS Online account. Once the crime trend map has been published, you can add it to your map from your My Content. Alternatively, use the ViolentCrimeTrends and ViolentCrimeTrendsMap services that have already been created for you.
- To use the services that have already been created for you, follow the steps below. If you publish your own crime trend map using ArcMap or using ArcGIS Pro, you can use these same steps to add your published services to your ArcGIS Online map.
- Click Add Content to Map, and Search for Layers.
- Find ViolentCrimeTrend* in ArcGIS Online within the map area and add both the feature service and the map service. Exit the Search for Layers pane by clicking on Done Adding Layers.
- Examine ViolentCrimeTrendsMap and the trend categories identified.
- To publish the crime trend map from ArcGIS Pro, follow the steps below.
- In ArcGIS Pro, right-click the violent crime trends layer and select Share As Web Layer.
- On the Share Web Layer panel, indicate you want to publish Features. Fill out the Summary and Tags parameters, and click the Publish button. The crime trends map will appear in your ArcGIS Online account My Content.
- The symbology for the features will not be correct, but you can also publish the layer as a map service by repeating the steps above and checking Tiles (instead of Features). You will still need the actual features for analysis.
- Add the crime trend layer to your ArcGIS Online map using the same approach outlined in step one.
- Publish the crime trend map from ArcMap.
- Right-click on the violent crime trends layer and select Save As Layer File. This creates a LYR file with the layer symbology.
- Open a new blank ArcMap document (.mxd) and add the new LYR file .
- If necessary, sign in to your ArcGIS Online account.
- From the File tab, select Share As and select Service.
- Select Publish a Service and click Next.
- Choose the connection and provide a service name, such as ViolentCrimeTrends. Click Continue.
- From the list of options along the left side of the dialog box, select Capabilities and check Feature Access. .
- For the Item Description, provide a summary, tags, and description.
- In the upper right corner of the dialog box, click Publish.
- The symbology for the features will not be correct, but you can also publish the layer as a map service by repeating the steps above and checking Tiled Mapping (instead of Feature Access). You will still need the actual features for analysis.
- Add the crime trend layer to your ArcGIS Online map using the same approach outlined in step one.
Get the unemployment rate data matching the violent crime trends geometry.
- Hover over the ViolentCrimeTrends feature layer and click the Perform Analysis button, .
- Click Data Enrichment and select the Enrich Layer tool.
- Click the Select Variables button to see the variable categories. Select Jobs and click Unemployment Rate and Apply. Provide a name, such as UnemploymentData, for the result layer. Uncheck Use current map extent. You may want to check how many credits will be consumed. Click the Run Analysis button.
The new layer with the data you selected is added to the map. You may see a message indicating the layer didn't draw completely, but you did receive data for the entire study area.
Create a hot spot map of the unemployment rate data.
- Hover over the unemployment rate data layer you obtained using the Enrich Layer tool and click the perform analysis button . Select Analyze Patterns and the Find Hot Spots tool.
- Set the Find clusters of high and low parameter to the unemployment rate variable. Specify an output results layer name, such as UnemploymentHotSpots, uncheck Use current map extent, and run the analysis.
Hot spot with 99 percent confidence | Cold spot with 90 percent confidence |
Hot spot with 95 percent confidence | Cold spot with 95 percent confidence |
Hot spot with 90 percent confidence | Cold spot with 99 percent confidence |
Not statistically significant |
Now you are ready to overlay the crime trends map with the unemployment hot spot map.
- Select the features of interest using a filter. To bring up the Filter panel, hover over the unemployment hot spot map to reveal the action buttons, then click the filter button . Add an expression to select locations where the Gi_Bin Fixed 4554_FDR field is 3 (this is the code for statistically significant hot spots at the 99 percent confidence level).
- For the crime trends map, you are interested in specific Pattern Type values: Intensifying, Consecutive, and Persistent hot spots. Hover over the crime trends layer and click the filter button . Add each expression below. Be sure Display features in the layer that match is set to Any.
- PATTERN is Consecutive Hot Spot
- PATTERN is Intensifying Hot Spot
- PATTERN is Persistent Hot Spot
- Finally, overlay the filtered layers. Hover over the violent crime trends layer and click the perform analysis button . Select Manage Data and the Overlay Layers tool. Select your filtered unemployment hot spot map for the Choose overlay layer parameter. Provide a name for the result layer, such as iCrimeUnemp, and run the analysis.
Lastly, select the high schools falling within a quarter mile of the proposed remediation areas.
- Hover over the Public High Schools layer and click the perform analysis button . Select Find Locations. Click on the Find Existing Locations tool.
- Add the expression to find public high schools within 0.25 miles of the crime and unemployment overlap areas.
- Specify a name for the result layer, such as SelectedHighSchools, and run the analysis.
You are now ready to make your final recommendations.