Learn R Programming

taxize (version 0.6.0)

ubio_search: This function will return NameBankIDs that match given search terms

Description

This function will return NameBankIDs that match given search terms

Usage

ubio_search(searchName = NULL, searchAuth = NULL, searchYear = NULL,
  order = NULL, sci = 1, vern = 1, keyCode = NULL, ...)

Arguments

searchName
(character) - term to search within name string
searchAuth
(character) - term to search within name authorship
searchYear
(character) - term to search within name year
order
(character) - (name or namebankID) field by which the results will be sorted (default is namebankID)
sci
(integer) - O (no) or 1 (yes; default) to include scientific name results (default is all)
vern
(integer) - O (no) or 1 (yes; default) to include common name (vernacular) results
keyCode
(character) Your uBio API key; loads from .Rprofile. If you don't have one, obtain one at http://www.ubio.org/index.php?pagename=form.
...
Curl options passed on to GET

Value

  • A data.frame.

Examples

Run this code
ubio_search(searchName = 'elephant')
ubio_search(searchName = 'elephant', sci = 1, vern = 0)
ubio_search(searchName = 'Astragalus aduncus', sci = 1, vern = 0)
ubio_search(searchName = 'puma concolor', sci=1, vern=0)

Run the code above in your browser using DataLab