refdb_filter_tax_precision: Filter records based on their taxonomic precision.

View source: R/refdb_filter.R

refdb_filter_tax_precisionR Documentation

Filter records based on their taxonomic precision.

Description

Filter records based on their taxonomic precision.

Usage

refdb_filter_tax_precision(x, min_tax)

Arguments

x

a reference database.

min_tax

minimum taxonomic level (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_precision(lib, min_tax = "family_name")


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