dedupe {taxonbridge}R Documentation

Remove duplicate scientific names in a taxonomy

Description

Remove duplicate scientific names in a taxonomy

Usage

dedupe(x, ranked = TRUE)

Arguments

x

A tibble created with load_taxonomies() or load_population() or load_sample().

ranked

A logical indicating whether duplicates should be removed by certainty of taxonomic status. Defaults to TRUE.

Details

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.

Value

A de-duplicated tibble

Examples

dedupe(load_sample())

[Package taxonbridge version 1.2.2 Index]