layer_citations {sdmpredictors}R Documentation

Generate citations for all layers

Description

layer_citations returns layer citations as text or as "bibentry" objects.

Usage

layer_citations(layers = c(), astext = TRUE)

Arguments

layers

character vector. Code of the layers from past, current and future climate layers. When no layers are provided (default), then all citations are returned.

astext

logical. When TRUE (default), then citations are returned as text otherwise they are returned as "bibentry" objects.

Details

Note that for some layers multiple references are returned as some of the predictors have been published separately.

Value

Either a character vector or a list of "bibentry" objects.

See Also

layer_citations, bibentry, list_datasets

Examples

# print the citation for the Bio-ORACLE salinity layer
print(layer_citations("BO_salinity"))

# print the citation for a MARSPEC paleo layer
print(layer_citations("MS_biogeo02_aspect_NS_21kya"))

# print all citations as Bibtex
print(lapply(layer_citations(astext = FALSE), toBibtex))

[Package sdmpredictors version 0.2.15 Index]