RangeShifts is an interactive shiny app that allows any user to visualize the effects of climate change on marine species range shifts. The app was adapted from Marine Taxa Track Local Climate Velocities.
The app is one of the materials in TrEnCh-Ed, which is an education product from the Buckley Lab, Department of Biology, University of Washington.
Git and Rstudio (Instructions)
Installation of the following R packages: shiny, R.utils, plotly, shinywidgets, cicerone, markdown, shinyjs, shinyBS
pkgs <- c("shiny", "R.utils", "plotly", "shinyWidgets", "cicerone", "markdown", "shinyjs", "shinyBS")
lapply(pkgs, FUN = function(x) {
if (!require(x, character.only = TRUE)) {
install.packages(x, dependencies = TRUE)
}
}
)
-
Opening in Rstudio:
Click on "Code" on the top right to copy the link to this repository.
ClickFile
,New Project
,Version Control
,Git
Paste the repository URL and clickCreate Project
. -
Alternatively, go to this link.
We have a google doc with questions to guide through the app for further understanding of the topic.
To contribute to RangeShifts, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <project_name>/<location>
- Create the pull request.
Alternatively see the GitHub documentation on creating a pull request.