Call Neotoma and return a table (with limits & offsets for large tables)

get_table(x, limit = 25, offset = 0)

Arguments

x

Table name (consult https://open.neotomadb.org/dbschema/ for a complete list of table names.

limit

Default 25 records

offset

Default 0.

Value

selected table values from the Database.

Examples

{
# Returns only the first 25 specimen records.
tryCatch({
someSpec <- get_table('specimens')
}, error = function(e) {
 message("Neotoma server not responding. Try again later.")
})
}