View source: R/get_speleothems.R
| get_speleothems | R Documentation |
get_speleothems
get_speleothems(x = NA, ...)
## S3 method for class 'numeric'
get_speleothems(x, ...)
## S3 method for class 'sites'
get_speleothems(x, ...)
x |
A dataset ID or vector of dataset IDs |
... |
accepted arguments |
Experimental function: API and behavior may change.
The get_speleothems() command wraps the Neotoma API
(api.neotomadb.org) call for speleothems.
The call itself uses a SQL query which accepts any one of the following
parameters:
x The unique dataset ID (integer) in Neotoma. Can be passed as a
vector of dataset IDs.
sites A sites R object.
sites object with speleothem data
Socorro Dominguez dominguezvid@wisc.edu
{
## Find speleothems by numeric datasetid:
tryCatch({
speleo <- get_speleothems(c(2,5))
}, error = function(e) {
message("Neotoma server not responding. Try again later.")
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.