Learn R Programming

neotoma2 (version 1.0.8)

doi,sites-method: 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 sites
doi(x)

Value

data.frame object with DOIs information.

Arguments

x

a Neotoma2 site object

Examples

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

Run the code above in your browser using DataLab