Pull out names after matching is done

pull_names(x)

# S3 method for splist
pull_names(x)

Arguments

x

Input species list, a character vector

Value

Characater vector of names, original names for those not matched, and replacment names for those matched

Examples

if (FALSE) { x <- system.file("examples", "iucn_dat.csv", package = "splister") x <- read.csv(x, stringsAsFactors = FALSE)[,-1] y <- system.file("examples", "worms_sample.csv", package = "splister") spp <- x$sciname[1:1000L] res <- match_exact(spp, ref = y, against = "scientificName") res2 <- match_fuzzy(res) pull_names(res2) }