simplifySpp: Simplify species names

View source: R/organizeBirds.R

simplifySppR Documentation

Simplify species names

Description

Removes infraspecific epithets, authors and years from scientific names

Usage

simplifySpp(df, sppCol)

Arguments

df

A data.frame with at least the column specified in sppCol

sppCol

A character vector with the column names for the species names.

Value

A vector with data.frame with a canonical name given by taxize::gbif_parse(), that is a scientific name with up to 3 elements and no authorship


Greensway/BIRDS documentation built on Oct. 19, 2023, 2:35 a.m.