get_uuid | R Documentation |
This function provides a convenient way to obtain a valid uuid or image url for an input taxonomic name. As multiple silhouettes can exist for each species in PhyloPic, this function extracts the primary image.
get_uuid(name = NULL, img = NULL, n = 1, filter = NULL, url = FALSE)
name |
|
img |
A Picture or png array object from
|
n |
|
filter |
|
url |
|
This function returns uuid(s) or image url (svg) for an input
name
. If a specific image is desired, the user can make use of
pick_phylopic to visually select the desired uuid/url.
A character
vector of a valid PhyloPic uuid or svg image
url.
## Not run:
uuid <- get_uuid(name = "Acropora cervicornis")
uuid <- get_uuid(name = "Dinosauria", n = 5, url = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.