| bold_tax_id {bold} | R Documentation |
Search BOLD for taxonomy data by BOLD ID.
bold_tax_id(id, dataTypes = "basic", includeTree = FALSE, response = FALSE, ...)
id |
(integer) One or more BOLD taxonomic identifiers. required. |
dataTypes |
(character) Specifies the datatypes that will be returned. 'all' returns all data. 'basic' returns basic taxon information. 'images' returns specimen images. |
includeTree |
(logical) If TRUE (default: FALSE), returns a list containing information for parent taxa as well as the specified taxon. |
response |
(logical) Note that response is the object that returns from the Curl call, useful for debugging, and getting detailed info on the API call. |
... |
Further args passed on to |
http://v4.boldsystems.org/index.php/resources/api?type=taxonomy
bold_tax_name
## Not run: bold_tax_id(id=88899) bold_tax_id(id=88899, includeTree=TRUE) bold_tax_id(id=88899, includeTree=TRUE, dataTypes = "stats") bold_tax_id(id=c(88899,125295)) ## dataTypes parameter bold_tax_id(id=88899, dataTypes = "basic") bold_tax_id(id=88899, dataTypes = "stats") bold_tax_id(id=88899, dataTypes = "images") bold_tax_id(id=88899, dataTypes = "geo") bold_tax_id(id=88899, dataTypes = "sequencinglabs") bold_tax_id(id=88899, dataTypes = "depository") bold_tax_id(id=c(88899,125295), dataTypes = "geo") bold_tax_id(id=c(88899,125295), dataTypes = "images") ## Passing in NA bold_tax_id(id = NA) bold_tax_id(id = c(88899,125295,NA)) ## get http response object only bold_tax_id(id=88899, response=TRUE) bold_tax_id(id=c(88899,125295), response=TRUE) ## curl debugging bold_tax_id(id=88899, verbose = TRUE) ## End(Not run)