get_image_urls: Get specimen image URLs, open them in a browser or download...

Description Usage Arguments

Description

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.

Usage

 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)

Arguments

specimens

A data frame returned by search_rb.

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 max is lower than the number of search results. The default is to display the first max results.

width

The width of the downloaded or open images in pixels.


gustavobio/RB documentation built on May 3, 2019, 5:17 p.m.