trenchproject / RShiny_ColiasModel

RShiny_ColiasModel is an interactive shiny app that explores how wing absorptivity influences the body temperatures of butterflies and the consequences for butterfly populations

Home Page:https://huckley.shinyapps.io/rshiny_coliasmodel/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RShiny_ColiasModel

RShiny_ColiasModel is an interactive shiny app that explores how wing absorptivity influences the body temperatures of butterflies and the consequences for butterfly populations. This visualization is based on Buckley and Kingsolver (2019), and uses a future air temperature projection model from the CMIP5 multimodel ensemble.

Prerequisites for opening in Rstudio

Git and Rstudio (Instructions)
Installation of the following R packages: shiny, magrittr, shinythemes, shinyWidgets, ggplot2, dplyr, leaflet, ggmap, maps, raster, sp, rgdal, viridis, shinycssloaders, shinyjs, sortable, rnoaa, chillR, reshape2, tidyr, gridExtra, shinyBS, cicerone

pkgs <- c("shiny", "magrittr", "ggplot2", "dplyr", "leaflet", "ggmap", "maps", "raster", "sp", "rgdal", "viridis", "shinythemes", "shinyWidgets", "shinycssloaders", "shinyjs", "sortable", "rnoaa", "chillR", "reshape2", "tidyr", "gridExtra", "shinyBS", "cicerone")

lapply(pkgs, FUN = function(x) {
    if (!require(x, character.only = TRUE)) {
      install.packages(x, dependencies = TRUE)
    }
  }
)

Using RShiny_ColiasModel

  • Opening in Rstudio:
    Click on "Code" on the top right to copy the link to this repository.
    Click File, New Project, Version Control, Git
    Paste the repository URL and click Create Project.

  • Alternatively, go to this link.

We have a google doc with questions to guide through the app for further understanding of the topic.

Contributing to RShiny_ColiasModel

To contribute to RShiny_ColiasModel, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

About

RShiny_ColiasModel is an interactive shiny app that explores how wing absorptivity influences the body temperatures of butterflies and the consequences for butterfly populations

https://huckley.shinyapps.io/rshiny_coliasmodel/


Languages

Language:R 94.6%Language:HTML 5.4%