Skip to contents

Eliminate species duplicate names (things like birdofprey and birdsofprey)

Usage

clean_species(species)

Arguments

species

vector of species names

Value

the vector of species names with standardized names, according to the species names that have already been encountered in the past datasets.

Examples

species <- c("zebraplains", "zebraburchells", "duiker", 
             "duikercommon", "aardvark", "lionfemale")
clean_species(species)
#> [1] "zebraburchells"  "zebraburchells"  "duikercommon"    "duikercommon"   
#> [5] "aardvarkantbear" "lionfemale"