# these examples require 'rWCVPdata'
if(requireNamespace("rWCVPdata")){
wcvp_names <- rWCVPdata::wcvp_names
# including author string
wcvp_match_exact(redlist_example, wcvp_names, "scientificName",
author_col = "authority",
id_col = "assessmentId"
)
# without author string
wcvp_match_exact(redlist_example, wcvp_names, "scientificName", id_col = "assessmentId")
}
Run the code above in your browser using DataLab