dataset_citations {sdmpredictors}R Documentation

Generate dataset citations

Description

dataset_citations returns dataset citations as text or as "bibentry" objects.

Usage

dataset_citations(datasets = c(), astext = TRUE)

Arguments

datasets

character vector. Code of the datasets. When no datasets 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 in order to generate a full list of citations it is preferable to run the layer_citations function.

Value

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

See Also

layer_citations, bibentry, list_datasets

Examples

# print the Bio-ORACLE citation
print(dataset_citations("Bio-ORACLE"))

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

[Package sdmpredictors version 0.2.15 Index]