Skip to content

matt-dray/scot-deer-collisions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deer-vehicle collisions in Scotland

Project Status: Concept – Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept. Blog post

A small R Shiny app for exploring geographic data about collisions between vehicles and deer in Scotland between 2000 and 2017. You can read more in the accompanying blog post.

Gif preview of the app in action

Use

The app is not hosted online. You can clone or download this repo and then run the app, or you can run these lines from an R session:

shiny::runGitHub(
  repo = "scot-deer-collisions", 
  username = "matt-dray"
)

The app depends on a few packages: {shiny}, {shinydashboard}, {leaflet}, {DT}, {dplyr}, {sf} and {icon}.

Data

From the blogpost:

The National Deer-Vehicle Collisions Project, administered by The Deer Initiative, has been monitoring data on deer-vehicle collisions in the UK.

The data are open. I found the dataset when skimming through data.gov.uk. It links to the SNH Natural Spaces site where you can download the data as shapefile, GML or KML under the Open Government Licence.

I produced this app independently and I don't work for any of these organisations.