worms_extid | R Documentation |
Get external ID from Worms ID
worms_extid(ids = NULL, type = "ncbi", opts = NULL, iface = NULL, ...)
ids |
(numeric) One or more WoRMS AphidID's for a taxon. |
type |
External ID source to get ID for. One of ncbi (default), tsn, bold, eol, dyntaxa, fishbase, iucn or lsid. |
opts |
(character) a named list of elements that are passed to the curlPerform function which actually invokes the SOAP method. These options control aspects of the HTTP request, including debugging information that is displayed on the console, e.g. .opts = list(verbose = TRUE) |
iface |
Interface to WoRMS SOAP API methods. By default we use a previously created object.
If you want to create a new one, use |
... |
Further args passed on to |
Character class with ID and attributess for found or not, the source name, and a URL for the taxon with the external source. No URL is given for lsid.
## Not run: worms_extid(ids=1080, type='ncbi') worms_extid(ids=278241, type='tsn') worms_extid(ids=278241, type='iucn') worms_extid(ids=282981, type='fishbase') worms_extid(ids=127186, type='bold') worms_extid(ids=278241, type='eol') worms_extid(ids=278241, type='lsid') worms_extid(ids=127186, type='dyntaxa') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.