View source: R/bold_downstream.R
bold_downstream | R Documentation |
Retrieve all taxa names downstream in hierarchy for BOLD
bold_downstream(id, downto, intermediate = FALSE, ...)
id |
(integer) One or more BOLD taxonomic identifiers |
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 |
intermediate |
(logical) If |
... |
crul options passed on to crul::verb-GET |
BEWARE: This function scrapes the BOLD website, so may be unstable. That is, one day it may work, and the next it may fail. Open an issue if you encounter an error: https://github.com/ropensci/taxize/issues
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
bold_downstream(id = 3451, downto="species")
bold_downstream(id = 443, downto="genus")
bold_downstream(id = 443, downto="genus", intermediate=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.