Giter Site home page Giter Site logo

shiny_iowa_birds's Introduction

DOI:10.1371/journal.pone.0173041

Introduction

This repository contains R Shiny code used to develop an interactive map of Iowa and to show predicted occupancy/colonization/detection probabilities for around 70 wild species including birds, mammals, reptiles, amphibians, odonates and butterflies. Most of them are birds.

Demo

Below is a screenshot of the tool. On the left is an user-input panel (such as specie category, area boundary, etc.). On the right is a static heatmap of Iowa made with ggplot2. Blue indicates low probability and red indicates high. Data at the clicked or hovered map location are shown in the text boxes below the map. User can even use mouse brush to zoom in and double click the map to zoom out. Those functionalities now look old-fashioned but I was quite proud of this achievement in the early days. ๐Ÿ˜†

Technical details

Due to data privacy issue, we cannot share the data (used to build this Shiny tool) with the public. This tool was developed back in 2016 when some popular and useful R packages such as plotly, leaflet or shinydashboard were not available yet. So I have to realize user-map interaction (hover, click and zoom) brute-forcefully. Most of those interactivities were made possible by accessing the value of plot_click, plot_hover or plot_brush. One can find more information in the file server.r.

Reference

Harms, T.M., Murphy, K.T., Lyu, X., Patterson, S.S., Kinkead, K.E., Dinsmore, S.J. and Frese, P.W., 2017. Using landscape habitat associations to prioritize areas of conservation action for terrestrial birds. PloS one, 12(3).

shiny_iowa_birds's People

Contributors

xiaodanlyu avatar

Watchers

James Cloos avatar  avatar

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.