These functions provide functionality to handle images from the RB herbarium. The
easiest way to use them is to get the object returned by search_rb
and
pass it to these functions. Alternatively, you can search by scientific name, family, and barcode.
1 2 3 4 5 6 7 8 9 10 11 | get_image_urls(specimens = NULL, scientific_name = NULL, family = NULL,
barcode = NULL, collector = NULL, max = 5, random = FALSE,
width = 600)
open_rb_images(specimens = NULL, scientific_name = NULL, family = NULL,
barcode = NULL, collector = NULL, max = 5, random = FALSE,
width = 600)
download_rb_images(specimens = NULL, scientific_name = NULL,
family = NULL, barcode = NULL, collector = NULL, width = 3000,
random = FALSE)
|
specimens |
A data frame returned by |
scientific_name |
A character vector of names to be searched. |
family |
A character vector of families. |
barcode |
A character vector of barcodes. |
collector |
A character vector with collector names. |
max |
Maximum number of results to display or download. |
random |
Logical indicating if random images should be downloaded or open when |
width |
The width of the downloaded or open images in pixels. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.