simplifySpp: Simplify species names

Description Usage Arguments Value

View source: R/organizeBirds.R

Description

Removes infraspecific epithets, authors and years from scientific names

Usage

1
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


BIRDS documentation built on June 27, 2021, 1:06 a.m.