knitr::opts_chunk$set(echo = TRUE)
This document presents default collection format descriptions that come with gdalcubes.
library(jsonlite) for (f in list.files(pattern=".json")) { cat(paste("##",f, "\n",sep="")) cat(jsonlite::read_json(f)$description) cat("\n") cat("```\n") cat(paste(readLines(f, warn = F), collapse="\n")) cat("\n```\n") cat("\n\n") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.