traits (version 0.2.0)

traitbank: Search for traits from EOL's Traitbank.

Description

Search for traits from EOL's Traitbank.

Usage

traitbank(pageid, cache_ttl = NULL, ...)

Arguments

pageid
A page id. I know, not ideal. Would be better if this was a trait id or trait name. This is the page ID for a taxon, not a trait. Apparently, traits don't have pages. Note: this parameter used to be trait, but badly mis-represented what the input actually represents.
cache_ttl
Cache code
...
Curl options passed on to GET

Details

See http://eol.org/data_glossary for human readable definitions for the attribute terms that EOL uses. Go to http://eol.org/data_search for the web interface to Traitbank.

References

http://eol.org/info/516

Examples

Run this code
## Not run: 
# # Get data for Balaenoptera musculus (http://eol.org/pages/328574/)
# res <- traitbank(328574)
# res$context
# names( res$graph )
# head( res$graph )
# 
# # Get data for Closterocerus formosus (http://eol.org/pages/846827/)
# traitbank(846827)
# ## End(Not run)

Run the code above in your browser using DataLab