R/list_available_datasets.R

Defines functions list_available_datasets

Documented in list_available_datasets

#' List all the available datasets.
#'
#' List the datasets available in pastclim. The list is comprehensive, and
#' includes all combinations of models and future scenarios for WorldClim. For a
#' more user-friendly list, use [get_available_datasets()]. Most functions can
#' also be used on custom datasets by setting `dataset="custom"`
#'
#' @returns a character vector of the available datasets
#' @export

list_available_datasets <- function() {
  return(sort(unique(as.character(getOption("pastclim.dataset_list")$dataset))))
}

Try the pastclim package in your browser

Any scripts or data that you put into this service are public.

pastclim documentation built on April 3, 2025, 11:18 p.m.