GithubHelp home page GithubHelp logo

matt-dray / scot-deer-collisions Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 22.55 MB

:deer::car: R Shiny app: explore open data on deer strikes in Scotland, 2000 to 2017

Home Page: https://www.rostrum.blog/2019/01/18/deer-collisions/

HTML 99.92% R 0.08%
deer open-data scotland flexdashboard crosstalk r leaflet

scot-deer-collisions's Introduction

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.

scot-deer-collisions's People

Contributors

matt-dray avatar

Stargazers

 avatar

Watchers

 avatar

scot-deer-collisions's Issues

Improve datatable

Need to:

  • Hide columns behind 'Column visibility' button
  • Provide short help text

Containerise?

Investigate possibility of containerising with something like rize. Would be interesting to talk about this in the upcoming blogpost (might be good to have a 'technical' section in that).

Improve data preparation steps

Need to deal with:

  • Remove unnecessary columns, e.g. gis_mapped
  • Title case
  • Month names
  • Clean out non-A, -B and -M roads

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.