Learn R Programming

rphylopic (version 0.1.9.9321)

nameset: Perform actions with name sets

Description

Perform actions with name sets

Usage

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

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

Arguments

uuid

One or more name UUIDs.

options

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

...

Curl options passed on to httr::GET()

Details

I'm not adding methods for adding names because I can't imagine doing that in R. Am I wrong?

Options for the options parameter: Same as those for name_*() functions.

Examples

Run this code
# NOT RUN {
# 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