## code to prepare `golan` dataset
library(stars)
setwd("~/Dropbox/Courses/R_2019/data")
dem1 = read_stars("srtm_43_06.tif")
dem2 = read_stars("srtm_44_06.tif")
dem = st_mosaic(dem1, dem2)
names(dem) = "elevation"
dem = dem[, 5687:6287, 2348:2948]
dem = st_normalize(dem)
dem = st_warp(src = dem, crs = 32636, method = "near", cellsize = 90)
carmel = dem
usethis::use_data(carmel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.