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