optimize_match_common: Optimize match common

View source: R/resolve_comm_taxa.R

optimize_match_commonR Documentation

Optimize match common

Description

Optimize the common taxon match to an authority based on completeness of returned information. A complete return contains both an authority name and an authority ID for a taxon.

Usage

optimize_match_common(x, data.sources)

Arguments

x

(character) A character string specifying the taxon.

data.sources

(Numeric) A numeric vector of values specifying the authorities to search across. Run ‘view_authorities' to get valid data source options and ID’s.

Value

  • taxa_clean Resolved name for input taxon.

  • rank Rank of the input taxon.

  • authority Best authority match for input taxon.

  • authority_id Corresponding authority ID for the input taxon.

  • score Authority match score for input taxon.


EDIorg/taxonomyCleanr documentation built on April 9, 2023, 2:43 a.m.