occCite (version 0.4.5)

taxonRectification: Taxon Rectification

Description

An 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

taxonRectification(taxName = NULL, datasources = NULL)

Arguments

taxName

A string that, ideally, is a taxonomic name

datasources

A vector of taxonomic data sources implemented in gnr_resolve. See the Global Names List for more information.

Value

A string with the closest match according to gnr_resolve, and a list of taxonomic data sources that contain the matching name.

Examples

Run this code
# NOT RUN {
#Inputting a taxonomic name and specifying what taxonomic sources you want to search
taxonRectification(taxName = "Buteo buteo hartedi", datasources = 'NCBI')

# }

Run the code above in your browser using DataLab