crimemapping
packageThis package provides an introductory course in crime mapping: using maps and
spatial analysis to understand and respond to crime. The course consists of
interactive tutorials built using the
learnr
package.
We will use R and RStudio to produce most of the maps and spatial analysis that we will work on in this module. Most of the sessions will take the form of interactive tutorials inside RStudio. As a first step, install R and RStudio on your computer – both are free software and available for Mac, Windows and Linux.
>
symbol in the
bottom-left corner (there may be a flashing cursor to the right of the >
symbol).install.packages("remotes")
remotes::install_github("mpjashby/crimemapping")
crimemapping::tutorial("01_getting_started")
You can see a list of available tutorials by typing:
crimemapping::tutorial()
You can load any tutorial by specifying the short name of the tutorial, e.g.
crimemapping::tutorial("02_your_first_crime_map")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.