BiophysicalModelMap is an interactive shiny app that allows users to visualize the current and future operative temperatures of organisms across the United States. The app covers lizards, grasshoppers, butterflies, snails, mussels, and salamandars using the biophysical model functions from TrenchR. Future temperatures are obtained from CMIP5 multimodel ensemble with RCP2.6, RCP6.0 and RCP8.5 projections, which are considered as optimistic, intermediate and pessimistic scenarios, respectively.
We use climateR::getGridMET
to obtain recent weather data and Climate Forecast System for near-term forecast data.
Git and Rstudio (Instructions)
Installation of the following R packages: shiny, raster, leaflet, shinyWidgets, shinythemes, shinycssloaders, magrittr, shinyBS, shinyjs, rgdal, climateR, AOI, RCurl, stringr, sf
pkgs <- c("shiny", "raster", "leaflet", "shinyWidgets", "shinythemes", "shinycssloaders", "magrittr", "shinyBS", "shinyjs", "rgdal", "RCurl", "stringr", "sf")
lapply(pkgs, FUN = function(x) {
if (!require(x, character.only = TRUE)) {
install.packages(x, dependencies = TRUE)
}
}
)
devtools::install_github(c("mikejohnson51/AOI", "mikejohnson51/climateR"))
-
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.
To contribute to BiophysicalModelMap, 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.