View source: R/helper_methods.R
dedupe | R Documentation |
Remove duplicate scientific names in a taxonomy
dedupe(x, ranked = TRUE)
x |
A tibble created with |
ranked |
A logical indicating whether duplicates should be removed by certainty
of taxonomic status. Defaults to |
This method can be used in one of two ways. By simply passing a tibble as input,
duplicates will be stringently removed based on the following order: "accepted", "synonym","homotypic synonym",
"heterotypic synonym", "proparte synonym","doubtful", NA. If however the ranked parameter is set to FALSE
,
duplicates will only be removed based on the scientific names, but not on taxonomic status, which results
in less duplicates being removed.
A de-duplicated tibble
dedupe(load_sample())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.