get_valid_names: Get dataframe with valid taxa names

Description Usage Arguments Details Value References

View source: R/add_worms_taxonomy.R

Description

This function checks all reported taxa against the WoRMS databse, and returns a dataframe with currently accepted valid species names.

Usage

1
get_valid_names(species_names)

Arguments

species_names

Character vector with taxa names.

Details

This function collects WoRMS entries based on the given species names, and reports the valid name and rank that is found. It first finds all direct matches, and then does a fuzzy match for queries that do not have a direct match against the database. Only extant species are considered, and if multiple matches are returned, either 1) use the only accepted name, 2) if all are unaccepted, use the only valid name, or 3) use an empty record if there are multiple valid names returned.

Value

Returns a dataframe.

References

worrms R-package


dswdejonge/TripleD documentation built on June 18, 2020, 12:24 p.m.