View source: R/worms_downstream.R
worms_downstream | R Documentation |
Retrieve all taxa names downstream in hierarchy for WORMS
worms_downstream(id, downto, intermediate = FALSE, start = 1, ...)
id |
(integer) One or more AphiaID's |
downto |
(character) The taxonomic level you want to go down to. See examples below. The taxonomic level IS case sensitive, and you do have to spell it correctly. See rank_ref_zoo for spelling. |
intermediate |
(logical) If |
start |
(integer) Record number to start at |
... |
crul options passed on to |
data.frame of taxonomic information downstream to family from e.g.,
Order, Class, etc., or if intermediated=TRUE
, list of length two,
with target taxon rank names, and intermediate names.
## Not run:
## the genus Gadus
worms_downstream(id = 125732, downto="species")
worms_downstream(id = 125732, downto="species", intermediate=TRUE)
worms_downstream(id = 51, downto="class")
worms_downstream(id = 51, downto="subclass", intermediate=TRUE)
worms_downstream(id = 105, downto="subclass")
# marine_only parameter
worms_downstream(545470, downto = "species")
worms_downstream(545470, downto = "species", marine_only = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.