Visit the app at https://cultureofinsight.shinyapps.io/crime-watch/
This application uses geocoding and GPS to allow users to retrieve and map data from the UK Police data base at a location of their choice within England, Wales or Northern Ireland.
Currently the app will return data for the most recent month available in the data base (March 2018 at the time of writing). Functionality could be added to allow users to request data from previous months.
Criminal incidents within a 1 mile radius of the users chosen location are retrieved and mapped at the lattitude + longitude recorded by the police. A summary count of all incidents, grouped by category, is also visualised in a bar chart.
- Geocoding via the ropensci opencage R package
- GPS locater via Dr Tom August's shiny geolocation Javascript script
- API calls to the data.police.uk data base via Nicholas Tierney's ukpolice R package