Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

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.

 

I. Download R and RStudio

 

II. Prepare data on Houston crime statistics

1. Download Houston crime GIS data (shapefile) here: https://cohgis-mycity.opendata.arcgis.com/datasets/hpd-nibrs-crime

2. Download Houston crime statistics (supplementary) here: https://www.houstontx.gov/police/cs/Monthly_Crime_Data_by_Street_and_Police_Beat.htm

This data source is MONTHLY NIBRS CRIME METADATA BY STREET/NEIGHBORHOOD (POLICE BEAT) CRIME STATISTICS.

To use it, you need to select your interested area (general areas listed in the website with link above) of Houston as well as a specific beat (each beat is described in detail, with general street boundaries and landmarks / neighborhoods, ZIP codes that are within that beat, a detailed map, and a text description of the boundaries of the beat).

Since this is the monthly date, you also need to choose the month you want.

After choosing the month to view, you will be presented with a table containing the stats for the below crimes for which we wrote police reports in the selected beat and month. The table will show the type of offense, date and time, district and beat, premise code of the location, block numbers and street name. For privacy reasons, exact addresses are not shown, only the hundred blocks. Each month's statistics are posted by the end of the following month

 

III. Create a new project in ArcGIS Pro

 

IV. Install the R-ArcGIS bridge: automatical method/manual method