Nothing
#' Get the variables downloaded for each dataset.
#'
#' List the downloaded variable for each dataset.
#'
#' @param data_path leave it to NULL to use the default data_path
#' @returns a list of variable names per dataset.
#'
#' @export
get_downloaded_datasets <- function(data_path = NULL) {
if (is.null(data_path)) {
data_path <- get_data_path()
}
all_nc_files <- list.files(data_path)
files_subset <- getOption("pastclim.dataset_list")[
getOption("pastclim.dataset_list")$file_name %in%
all_nc_files,
]
downloaded_vars <- list()
for (dataset in unique(files_subset$dataset)) {
downloaded_vars[[dataset]] <- files_subset[
files_subset$dataset == dataset,
"variable"
]
}
downloaded_vars
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.