Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 1.47 KB

File metadata and controls

33 lines (17 loc) · 1.47 KB

Tutorials

Running the code online

These tutorials can be run online usinng the binder service and relying on the rocker/binder R community managed Docker files.

Click the binder link to run the tutorials (inside the src folder):

Binder

Running the code locally

These tutorials (inside the src directory) were setup as Jupyter notebooks, providing with addition of an R kernel. In order to use R in Jupyter notebooks on your local machine, you need to install IRkernel and make it available to Jupyter by following steps as explained in this link.

A number of R dependencies are required to run the code itself apart from the highlighted packages (rgbif and wateRinfo). Following pacakages need to be installed as well:

For the rgbif tutorial:

install.packages(c('tidyverse', 'rgeos', 'rgdal', 'sp', 'ggmap', 'leaflet', 'assertthat', 'stringr', 'magrittr'))

For the wateRinfo tutorial:

install.packages(c('tidyverse','RColorBrewer'))

Both tutorials can be used as slideshow presentation, using the RISE extension (also known as live_reveal). When provided, an additional menu item is provided to convert the tutorial in an interactive slideshow.