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.
# S4 method for class 'sites'
cite_data(x)data.frame object with citation information.
{
tryCatch({
ds <- get_datasets(1)
cite_data(ds)
}, error = function(e) {
message("Neotoma server not responding. Try again later.")
})
}
#> datasetid
#> 1 1
#> citation
#> 1 . 15/1; pollen surface sample dataset. In North American Pollen Database. Neotoma Paleoecology Database. doi:10.21233/9twd-s570