Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.68 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.68 KB

🎓 Interactive raster visualization with R

In this workshop:

  • How to visualize rasters interactively
    • Why use R
    • Learn how to create and share interactive raster maps
    • Learn how to build interactive dashboards
    • Learn how to build simple shiny apps

Installation

Packages

The following R packages are required :

sf might be trickier to install, check out the README for guidelines to install it. Also, on for Ubuntu users, there is a comprehensive blog post for installing spatial packages.

Local environment

Once installed, you can set your local environment, the following commands may prove helpful:

  • getwd() to get the working directory
  • setwd() to set the working directory
  • dir.create() to create a directory
  • list.files() to liste files in a directory

also the following code can be used to download data and unzip them

download.file("https://github.com/inSilecoInc/workshop_raster/raw/main/data_and_script.zip", destfile = "tmp.zip")
unzip("tmp.zip")
unlink("tmp.zip") # remove temporary file