In this example, we will create a Risk Terrain Model for Leeds that explores the relationship between incidents of residential burglary and a selection of geographical and social features. There are certainly more useful selections of geographical data that could be related to residential burglary, such as the accessibility of roads, the presence of bars, the abundance of trees, etc. But the data chosen here are nevertheless appropriate for demonstrating the basic modelling process. The input layers that we will use are:
Note that the RTM software will only read point data, so the area-based data (households and detached houses) were generated by randomly creating the appropriate number of points in each area.
To begin with, it is necessary to download the RTM software. This software will read the input data files and run a series of regression models, exploring the interactions between geographic features and crime occurrences. It requires Microsoft Windows.
Go to the RTM download page and, if applicable, select the educational version. You will need to fill in some details to request a license. Once this process has been completed you will receive instructions for how to download and install the software. Note that you need to run the installer "As Administrator" (right-click the installer .exe file to select this), and you may need to allow R access through your local firewall software.
All the required data have been pre-prepared and can be downloaded from here. Once it has been downloaded, extract the zip file to reveal the individual data files (Leeds area, crimes, detached houses and bus stops).
As the data have been pre-prepared, running the model only requires opening the RTM software and selecting the appropriate parameters.
Now it is time to add the different risk factors (the detached houses and bus stops data)
Once the software has finished running, it will identify the best regression model and write out a full specification to the results folder that you specified earlier. The final stage is to take this specification and use it to create a risk surface. Continue to part 2 to do this.