cite_data-sites-method: Obtain data citations from multiple records.

cite_data,sites-methodR Documentation

Obtain data citations from multiple records.

Description

Given complete dataset objects in Neotoma (must have used get_datasets() or get_downloads()), return a formatted citation for the record, including the dataset DOI.

Usage

## S4 method for signature 'sites'
cite_data(x)

Arguments

x

sites object

Value

data.frame object with citation information.

Examples

{
tryCatch({
ds <- get_datasets(1)
cite_data(ds)
}, error = function(e) {
message("Neotoma server not responding. Try again later.")
})
}

neotoma2 documentation built on Dec. 6, 2025, 5:07 p.m.