get_speleothems

get_speleothems(x = NA, ...)

# S3 method for class 'numeric'
get_speleothems(x, ...)

# S3 method for class 'sites'
get_speleothems(x, ...)

Arguments

x

A dataset ID or vector of dataset IDs

...

accepted arguments

Value

sites object with speleothem data

Details

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.

Author

Socorro Dominguez dominguezvid@wisc.edu

Examples

{
## Find speleothems by numeric datasetid:
tryCatch({
  speleo <- get_speleothems(c(2,5))
}, error = function(e) {
  message("Neotoma server not responding. Try again later.")
})
}