Get Neotoma value tables.
get_table(table.name = NULL)
Call one of the available tables in the Neotoma Database. A full listing of tables can be found here: http://api.neotomadb.org/doc/resources/dbtables. By default it returns all objects in the table.
A table of values corresponding to the parameter of interest.
Neotoma Project Website: http://www.neotomadb.org API Reference: http://api.neotomadb.org/doc/resources/contacts
# NOT RUN {
taxon.table <- get_table('Taxa')
# Get the frequency of a random taxon in Neotoma.
tax_sample <- sample(nrow(taxon.table), 1)
cat("The taxon",
taxon.table$TaxonName[tax_sample],
"occurs in Neotoma",
length(get_dataset(taxonname = taxon.table$TaxonName[tax_sample])),
"times.")
# }
Run the code above in your browser using DataLab