search_rb: Search specimens in the RB collection.

Description Usage Arguments Examples

Description

This function filters a local copy of the RB collection according to user-defined arguments. The returned object can them be used to visualize or download register images.

Usage

1
2
3
search_rb(scientific_name = NULL, family = NULL, genus = NULL,
  collector = NULL, county = NULL, state = NULL, barcode = NULL,
  with_images = FALSE, with_coordinates = FALSE, year = NULL, ...)

Arguments

scientific_name

A character vector with one or more scientific names.

family

A character vector with one or more families.

genus

A character vector with one or more genera.

collector

A character vector to be matched against collectors in the database.

county

A character vector with one or more counties.

state

A character vector with one or more Brazilian states (full names only).

barcode

A character vector with one or more catalog numbers.

with_images

A logical indicating whether to return only specimens with images.

with_coordinates

A logical indicating whether to return only specimens with geographical coordinates.

year

A numerical or character vector indicating years to refine the search.

...

Further arguments to be passed on to download_rb_data

Examples

1
2
3
4
5
6
7
## Not run: 
search_rb("Miconia albicans")
search_rb(family = "Melastomataceae", county = "Itirapina")
search_rb(genus = "Myrcia", state = "Rio de Janeiro")
search_rb("Miconia rubiginosa", years = 2001:2003, with_images = TRUE)

## End(Not run)

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