Skip to contents

Takes a vector of names to return the names without abbreviated middle names, academic titles and hyphens.

Usage

clean_names(name_vector)

Arguments

name_vector

A string with names separated by commas

Value

A vector (class: character) containing names

Examples

clean_names(c("Matthias M. Bauer","Thomas Garca Morrison","Wolfgang Nitsche", "Elias Biobaca L." ))
#> [1] "matthias bauer"   "thomas garca"     "wolfgang nitsche" "elias biobaca"