Learn R Programming

rphylopic (version 0.3.0)

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,
  other = NULL,
  options = NULL,
  cleanoutput = TRUE,
  ...
)

Arguments

uuid

(character) one or more UUIDs of taxonomic names

subtaxa

If set to TRUE, includes subtaxa in the search.

supertaxa

If not set to FALSE, includes supertaxa in the search.

other

If set to TRUE, includes related taxa in the search.

options

Space-separated list of options for the result value.

cleanoutput

If TRUE, remove elements with no data.

...

curl options passed on to crul::HttpClient

Examples

Run this code
if (FALSE) {
search_images('1ee65cf3-53db-4a52-9960-a9f7093d845d', 
  subtaxa = "true", options = c("pngFiles", "credit", "licenseURL", 
  "svgFile", "canonicalName", "html"))

# all of them
search_images(c("1ee65cf3-53db-4a52-9960-a9f7093d845d",
   "08141cfc-ef1f-4d0e-a061-b1347f5297a0"), 
   options=c("pngFiles", "credit", "canonicalName"))
}

Run the code above in your browser using DataLab