get_table: Get Neotoma value tables.

View source: R/get_table.R

get_tableR Documentation

Get Neotoma value tables.

Description

Get Neotoma value tables.

Usage

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://wnapi.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://wnapi.neotomadb.org/doc/resources/contacts

Examples

## 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)

ropensci/neotoma documentation built on Dec. 6, 2022, 6:26 p.m.