taxonRectification: Taxon Rectification

Description Usage Arguments Value Examples

View source: R/taxonRectification.R

Description

An internal helper function that takes an input taxonomic name, checks against taxonomic database, returns vector for use in database queries, as well as warnings if the name is invalid.

Usage

1
taxonRectification(taxName = NULL, datasources = NULL)

Arguments

taxName

A string that, ideally, is a taxonomic name

datasources

A vector of taxonomic datasources implemented in gnr_resolve. See http://gni.globalnames.org/ for more information.

Value

A string with the closeset match according to gnr_resolve, and a list of taxonomic datasources that contain the matching name.

Examples

1
2
#Inputting a taxonomic name and specifying what taxonomic sources you want to search
studyTaxonList(x = "Buteo buteo hartedi", datasources = c('NCBI', 'EOL'));

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