wcvp_match_exact {rWCVP} | R Documentation |
Exact matching to WCVP.
Description
Exact matching of names to the WCVP, optionally using the author string to refine results.
Usage
wcvp_match_exact(names_df, wcvp_names, name_col, author_col = NULL, id_col)
Arguments
names_df |
Data frame of names for matching. |
wcvp_names |
Data frame of taxonomic names from WCVP version 7 or later.
If |
name_col |
Character. The column in |
author_col |
the column in |
id_col |
the column in |
Value
Match results from WCVP bound to the original data from names_df
.
See Also
Other name matching functions:
wcvp_match_fuzzy()
,
wcvp_match_names()
Examples
# 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")
}
[Package rWCVP version 1.2.4 Index]