list_layers_future: List the future climate layers provided by one or more...

View source: R/list.R

list_layers_futureR Documentation

List the future climate layers provided by one or more datasets

Description

list_layers_future returns information on the future climate layers of one or more datasets.

Usage

list_layers_future(datasets = c(), scenario = NA, year = NA,
  terrestrial = NA, marine = NA, freshwater = NA, monthly = TRUE, version =
  NULL)

Arguments

datasets

character vector. Code of the datasets.

scenario

character vector. Climate change scenario, e.g. "B1", "A1B", "A2".

year

integer. Year for which you want the climate change prediction, e.g. 2100, 2200.

terrestrial

logical. When TRUE (default), then datasets that only have terrestrial data (seamasked) are returned.

marine

logical. When TRUE (default), then datasets that only have marine data (landmasked) are returned.

freshwater

logical. When TRUE, then datasets that only have freshwater data are returned.

monthly

logical. When FALSE, then no monthly layers are returned. All annual and monthly layers are returned by default.

version

numeric vector. When NULL then layers from all versions of datasets are returned (default) else layers are filtered by version number.

Details

By default it returns all layers from all datasets, when both marine and terrestrial are FALSE then only layers without land- nor seamasks are returned.

Value

A dataframe with information on the supported future climate layers.

See Also

list_layers, list_layers_paleo, list_datasets, load_layers

Examples

# list the first 5 layers
list_layers_future()[1:5,]
# list layer codes for Bio-ORACLE with scenario B1 and year 2100
list_layers_future("Bio-ORACLE", scenario = "B1", year = 2100)$layer_code

sdmpredictors documentation built on Aug. 23, 2023, 5:07 p.m.