Learn R Programming

florabr (version 1.3.0)

get_synonym: Retrieve synonyms for species

Description

Retrieve synonyms for species

Usage

get_synonym(data, species,
                   include_subspecies = TRUE, include_variety = TRUE)

Value

A data.frame containing unique synonyms of the specified species along with relevant information on taxonomic and nomenclatural statuses.

Arguments

data

(data.frame) the data.frame imported with the load_florabr function

species

(character) names of the species

include_subspecies

(logical) include subspecies that are synonyms of the species? Default = TRUE

include_variety

(logical) include varieties that are synonyms of the species? Default = TRUE

References

Flora e Funga do Brasil. Jardim Botânico do Rio de Janeiro. Available at: http://floradobrasil.jbrj.gov.br/

Examples

Run this code
data("bf_data") #Load Flora e Funga do Brasil data
#Species to extract synonyms
spp <- c("Araucaria angustifolia", "Adesmia paranensis")
spp_synonyms <- get_synonym(data = bf_data, species = spp,
                            include_subspecies = TRUE,
                            include_variety = TRUE)
spp_synonyms

Run the code above in your browser using DataLab