Learn R Programming

rphylopic (version 0.3.0)

nameset: Perform actions with name sets

Description

Perform actions with name sets

Usage

nameset_get(uuid, options = NULL, ...)

nameset_taxonomy(uuid, options = NULL, ...)

Value

a named list

Arguments

uuid

the UUID of a set of taxonomic names

options

(character) One or more of citationStart, html, namebankID, root, string, type, uid, uri, and/or votes

...

curl options passed on to crul::HttpClient

<code>options</code> parameter

Same as those for name_*() functions

Details

nameset_get() retrieves information on a set of taxonomic names. nameset_taxonomy() collects taxonomic data for a set of taxonomic names.

Examples

Run this code
if (FALSE) {
# Retrieves information on a set of taxonomic names.
id <- "8d9a9ea3-95cc-414d-1000-4b683ce04be2"
nameset_get(uuid = id)
nameset_get(uuid = id, options=c('names','string'))

# Collects taxonomic data for a name.
nameset_taxonomy(uuid = "8d9a9ea3-95cc-414d-1000-4b683ce04be2",
  options = "string")
nameset_taxonomy(uuid = "8d9a9ea3-95cc-414d-1000-4b683ce04be2",
  supertaxa="immediate", options=c("string","namebankID"))
}

Run the code above in your browser using DataLab