GatherSynonyms: Gathers A List Of Taxonomic Synonyms

Description Usage Arguments Value Examples

View source: R/GatherSynonyms.R

Description

This function goes through the hierarchy pages to collect taxonomic synonyms.

Usage

1
GatherSynonyms(MyHiers, output = c("detail", "counts"))

Arguments

MyHiers

A vector of filenames for downloaded hierarchy pages

output

Detail will return a data frame with each taxon and their taxonomic synonyms; counts will return a dataframe with each species and synonym counts.

Value

When output is set to detail, it returns a data frame where each row is the taxonomic unit that has a synonym, the hierarchy ID, and the synonym. When output="counts", each taxon is included whether it has a synonym or not. Rather than report the synonyms, it reports the number of synonyms for each.

Examples

1
2
3

Reol documentation built on May 2, 2019, 5:54 p.m.