Learn R Programming

rphylopic (version 0.1.9.9321)

search_images: Search for images for a taxon (via its uuid)

Description

Search for images for a taxon (via its uuid)

Usage

search_images(uuid, subtaxa = NULL, supertaxa = NULL, options = NULL,
  cleanoutput = TRUE, ...)

Arguments

uuid

The UUID of the taxonomic name.

subtaxa

If set to "true", includes subtaxa in the search.

supertaxa

If not set to "false", includes supertaxa in the search.

options

Space-separated list of options for the result value.

cleanoutput

If TRUE, remove elements with no data.

...

Further args passed on to GET. See examples.

Examples

Run this code
# NOT RUN {
someuuids <- search_text(text = "Homo sapiens", options = "names")
search_images(uuid=someuuids[[4]], options=c("pngFiles", "credit", "canonicalName"))

# all of them
search_images(uuid=someuuids[1:5], options=c("pngFiles", "credit", "canonicalName"))
# }

Run the code above in your browser using DataLab