The following step-by-step instructions and screenshots are based on the Windows 10 operating system with the Windows Classic desktop theme and ArcGIS Pro 2.1.3 software. If your personal system configuration varies, you may experience minor differences from the instructions and screenshots. PART I: Install the R-ArcGIS bridge - Download R and RStudio
R link: R Studio link:
- Prepare data on Houston crime statistics
2.1. Houston crime GIS data (shapefile) link: https://cohgis-mycity.opendata.arcgis.com/datasets/hpd-nibrs-crime Note:
2.2. Houston crime statistics (supplementary) link: https://www.houstontx.gov/police/cs/Monthly_Crime_Data_by_Street_and_Police_Beat.htm Note:
- Create a new project in ArcGIS Pro
- Install the R-ArcGIS bridge: automatical method/manual method
PART II: Basic statistical analysis - Aggregate point data by counts within a defined location
- Analyze crime hot spots: One step forward
PART III: Enhance the dataset with additional attributes - Add additional attributes to the original dataset
- Further prepare the dataset
PART IV (KEY SECTION): Conduct statistical analysis using R and ArcGIS Pro - Bridge your data into R
- Calculate smoothed crime rates
- Continue analysis in ArcGIS Pro
- Identify areas with unusually high crime rates
PART V (KEY SECTION): Identify attributes that influence crime - Create a correlation matrix in R to evaluate attribute relationships
|