get_names: Get names for uuids.

Description Usage Arguments Details Examples

View source: R/get_names.R

Description

Get names for uuids.

Usage

1
2
3
4
5
6
7
8
get_names(
  uuid,
  supertaxa = NULL,
  subtaxa = NULL,
  options = NULL,
  stripauthority = TRUE,
  ...
)

Arguments

uuid

UUID to get names for

supertaxa

If immediate, returns data for immediate supertaxa ("parents"). If all, returns data for all supertaxa ("ancestors"). Otherwise, does not include supertaxa.

subtaxa

If immediate, returns data for immediate subtaxa ("children"). Otherwise, does not include subtaxa.

options

See details for the options for options, get it, ha.

stripauthority

If TRUE (default) the authority is stripped off of the scientific name.

...

curl options passed on to crul::HttpClient

Details

Here are the options for the options argument:

Examples

1
2
3
4
5
6
7
8
## Not run: 
get_names(uuid = "f3254fbd-284f-46c1-ae0f-685549a6a373", options = "string")
get_names(uuid = "f3254fbd-284f-46c1-ae0f-685549a6a373", supertaxa="immediate", 
   options=c("string namebankID"))
get_names(uuid = "f3254fbd-284f-46c1-ae0f-685549a6a373", supertaxa="all", 
   options="string")

## End(Not run)

rphylopic documentation built on July 2, 2020, 3:58 a.m.