doi-sites-method: Obtain dataset DOIs from records.

doi,sites-methodR Documentation

Obtain dataset DOIs from records.

Description

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

Usage

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

Arguments

x

a Neotoma2 site object

Value

data.frame object with DOIs information.

Examples

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

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