Skip to contents

Functions that retrieve Taxa resources from the server previously connected to. Each function either retrieves an individual resource or a page of resources, depending on the arguments provided.

Usage

Taxa(id, page, url = NULL)

Authorities(id, page, url = NULL)

DescriptionBlock(id, page, url = NULL)

Synonymy(id, page, url = NULL)

Arguments

id

id value (usually numeric, but not always) used to refer to the specific resource to pull from the database

page

numeric value referring to the page of resources to pull. If neither an id or a page parameter is provided, function will pull the first page of resources (i.e. page=1)

url

URL string of the Symbiota2 portal to be connected to. A trailing / will be appended, if it is not given.

Value

If using id, the specific resource specified; if using page, the page specified of resources

Note

To specify a default URL to refer to, see SymbiotaR2_setup()

Author

Austin Koontz

Examples

if (FALSE) { # \dontrun{
# Pulling a page of Taxa resources, from a (nonexistent) dummy portal
object <- Taxa(page = 2, url = "http://dummy-portal.com/api/")
} # }