bold_get_attr: Get the error messages and parameters used for a request from...

View source: R/get_attr.R

bold_get_attrR Documentation

Get the error messages and parameters used for a request from a bold output.

Description

Get the error messages and parameters used for a request from a bold output.

Get the error messages from a bold output.

Get the parameters used for a request from a bold output.

Usage

bold_get_attr(x)

bold_get_errors(x)

bold_get_params(x)

Arguments

x

Any object with an attribute "params". Usually the output of bold_tax_name or bold_tax_id2.

Value

A list of the attributes 'errors' and 'params' of the object.

The 'errors' attribute of the object.

The 'params' attribute of the object.

Examples

## Not run: 
x <- bold_tax_name(name=c("Apis","Felis","Pinus"), tax_division = "Animalia")
bold_get_errors(x)
y <- bold_tax_id2(id = c(88899999, 125295, NA_integer_), dataTypes = c("basic", "stats"))
bold_get_errors(y)

## End(Not run)
## Not run: 
x <- bold_tax_name(name=c("Apis","Felis","Pinus"), tax_division = "Animalia")
bold_get_errors(x)
y <- bold_tax_id2(id = c(88899999, 125295, NA_integer_), dataTypes = c("basic", "stats"))
bold_get_errors(y)

## End(Not run)
## Not run: 
x <- bold_tax_name(name=c("Apis","Felis","Pinus"), tax_division = "Animalia")
bold_get_params(x)
y <- bold_tax_id2(id = c(88899999, 125295, NA_integer_), dataTypes = c("basic", "stats"))
bold_get_params(y)

## End(Not run)

ropensci/bold documentation built on Sept. 10, 2023, 11:50 p.m.