View source: R/worms_children.R
worms_children | R Documentation |
Children search of WoRMS data
worms_children( ids = NULL, offset = NULL, marine_only = 1, opts = NULL, iface = NULL, ... )
ids |
(numeric) One or more WoRMS AphidID's for a taxon. |
offset |
Starting record number, when retrieving next chunk of (50) records. Default=1. |
marine_only |
(logical) Include results from marine taxa only. Default: TRUE. |
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 |
A list of data.frame's, named by the input Aphia ids
## Not run: worms_children(ids=106135) worms_children(ids=c(106135,159283)) out <- worms_children(ids=c(106135,159283)) lapply(out, head) # to bind outputs together from multiple taxa do.call(rbind, out) ## or with plyr::rbind.fill do.call(rbind.fill, out) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.