Pull out names after matching is done
pull_names(x) # S3 method for splist pull_names(x)
x | Input species list, a character vector |
---|
Characater vector of names, original names for those not matched, and replacment names for those matched
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) }