refdb_filter_tax_na: Filter records NA taxa

View source: R/refdb_filter.R

refdb_filter_tax_naR Documentation

Filter records NA taxa

Description

Remove records where taxa is NA if it is not the only representant of the upper clade. Note that the function maybe slow on large datasets. //EXPERIMENTAL//

Usage

refdb_filter_tax_na(x)

Arguments

x

a reference database. (column name of the reference database).

Value

A tibble (filtered reference database).

Examples

lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb"))
lib <- refdb_set_fields_BOLD(lib)
refdb_filter_tax_na(lib)


refdb documentation built on Sept. 22, 2022, 5:07 p.m.