Get Neotoma value tables.

Share:

Description

Get Neotoma value tables.

Usage

1
get_table(table.name = NULL)

Arguments

table.name

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.

Details

A table of values corresponding to the parameter of interest.

Author(s)

Simon J. Goring simon.j.goring@gmail.com

References

Neotoma Project Website: http://www.neotomadb.org API Reference: http://api.neotomadb.org/doc/resources/contacts

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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.")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.