occQuery: Query from Taxon List

Description Usage Arguments Value Examples

View source: R/occQuery.R

Description

Takes rectified list of specimens from studyTaxonList and returns point data from rgbif with metadata.

Usage

1
2
occQuery(x = NULL, datasources = "gbif", GBIFLogin = NULL,
  options = NULL)

Arguments

x

An object of class bridgeTreeData (the results of a studyTaxonList search).

datasources

A vector of occurrence datasources to search. This is currently limited to GBIF, but may expand in the future.

GBIFLogin

An object of class GBIFLogin to log in to GBIF to begin the download.

options

A vector of options to pass to occ_download.

Value

The object of class bridgeTreeData supplied by the user as an argument, with occurrence data search results, as well as metadata on the occurrence sources queried.

Examples

1
2
3
4
5
## PLACEHOLDER
studyTaxonList(x = phylogeny, datasources = c('NCBI', 'EOL'));

## PLACEHOLDER
studyTaxonList(x = c("Buteo buteo", "Buteo buteo hartedi", "Buteo japonicus"), datasources = c('NCBI', 'EOL'));

hannahlowens/BridgeTree documentation built on May 3, 2019, 4:33 p.m.