refdb_filter_ref_scope | R Documentation |
Filter records by taxonomic scope of studies
refdb_filter_ref_scope(x, max_tax)
x |
a reference database (tibble). |
max_tax |
the maximum (widest) taxonomic focus of the study. |
A reference field (one ore more columns) must be set to use this function. If reference is not available (NA) for a record, the record is not dropped.
a reference database (tibble).
lib <- read.csv(system.file("extdata", "baetidae_bold.csv", package = "refdb")) lib <- refdb_set_fields_BOLD(lib) lib$refs <- rep("REF_1", nrow(lib)) lib <- refdb_set_fields(lib, reference = "refs") refdb_filter_ref_scope(lib, max_tax = "family_name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.