Skip to main content

Climate Distance Mapper R Script


Publication Date
Start Date
End Date


Shryock, D.F, DeFalco, L.A., and Esque, T.C., 2018, Principal components of climate variation in the Desert Southwest for the time periods 1980-2010, 2040-2070 (RCP8.5) and (RCP4.5): U.S. Geological Survey data release,


Climate Distance Mapper is an interactive web mapping application designed to facilitate informed seed sourcing decisions and to aid in directing regional seed collections. Implemented as a shiny web application (Chang et al. 2017), Climate Distance Mapper is hosted on the web at: The application is designed to guide restoration seed sourcing in the desert southwest by allowing users to interactively match seed sources with restoration sites climatic differences – in the form of multivariate climate distance values – between restoration sites and the surrounding landscape. Climatic distances are based on a combination of variables likely to influence patterns of local [...]


Attached Files

Click on title to download individual files attached to this item.

Climate_Distance_Mapper.R 19.48 KB
Climate Distance Mapper.jpg thumbnail 421.25 KB


This script provides R functions necessary to generate the online interactive mapping application Climate Distance Mapper. The functions rely on the R package “shiny” v. 1.0.5 (Chang et al. 2017; for generating the user interface, the R package “leaflet” v. 1.1.0 (Cheng et al. 2017; for generating an interactive map display, and the R package “raster” v. 2.6-7 (Hijmans 2017; for handling spatial data. All functions and packages were compiled under R version 3.4.4 (R Core Team 2018). Climate Distance Mapper uses principal components of climate variables to map multivariate climate distances from user-specified input coordinates and displays the results in an interactive online map. The R script can be executed from any R console (R version 3.4.4) or from the RStudio GUI (version 1.1.442;

Item Actions

View Item as ...

Save Item as ...

View Item...