get_synonyms: Get synonyms for retrieved species lists

View source: R/get_synonyms.R

get_synonymsR Documentation

Get synonyms for retrieved species lists

Description

Get synonyms from species lists retrieved by conosur_species().

Usage

get_synonyms(x, ...)

## S3 method for class 'cs_species'
get_synonyms(x, subset, progress = TRUE, ...)

Arguments

x

A cs_species object.

...

Further arguments passed among methods.

subset

An expression selecting a subset of rows for retrieving synonyms. This can be useful if a previous run had failed in some species.

progress

A logical value indicating whether a progress bar should be displayed or not.

Value

The input cs_species object with appended rows for synonyms. An additional column AcceptedName is added indicating accepted names with value 'TRUE' and synonyms with value 'FALSE'.

Author(s)

Miguel Alvarez, kamapu78@gmail.com

Examples

## List for letter K
splist <- conosur_species(letter = "K")[1:5, ]
splist <- get_synonyms(splist)
head(splist)


kamapu/conosur documentation built on Sept. 28, 2022, 9:06 p.m.