#' Download data
#' @importFrom R.utils gunzip
#' @export
download.data <- function(exc = "kraken", cur = "GBP", folder = ".") {
url <- get.url(exc, cur)
download.file(url$url, paste(folder, url$names, sep = "/"))
cat("Extracting :", url$filename, "\n")
R.utils::gunzip(paste(folder, url$names, sep = "/"), overwrite = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.