Description Usage Arguments Examples
The next generation of CrimeMap based on rMaps!
1 2 3 |
location |
Location of interest within England and Wales (e.g. London, Birmingham, Newcastle) |
period |
Specific month of interest between Dec 2010 and Jan 2014 in 'yyyy-mm' format (e.g. 2014-01) |
type |
Specific type of crime or all (e.g. "All", "Anti-social behaviour", "Burglary", "Violent crime") |
map_size |
Resolution of the map (e.g. Full HD = c(1920 x 1080)) |
provider: |
Base map service provider (e.g. "OpenStreetMap.BlackAndWhite") (see http://leaflet-extras.github.io/leaflet-providers/preview/index.html) |
zoom |
Zoom level of the map |
nearest |
number of nearest police forces (for data collection) |
1 2 3 4 5 6 7 8 | ## Create a heatmap with default settings
rcmap()
## Be more specific
rcmap("Ball Brothers EC3R 7PP", "2011-08", "All", c(1000,1000))
rcmap("London", "2011-08", "Anti-social behaviour", c(1000,500))
rcmap("Manchester", "2014-01", "All", c(1000,1000), "MapQuestOpen.OSM")
rcmap("Liverpool", "2014-01", "All", c(1000,500), "MapQuestOpen.OSM")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.