Parses the input_name column from a taxify() result to extract
taxonomic qualifiers (cf., aff., s.l., etc.) and their positions.
Arguments
- x
A data.frame returned by
taxify().
Value
The same data.frame with additional columns:
- qualifier
The qualifier found (e.g.,
"cf.","aff."), orNAif none.- qualifier_position
Integer position (character index) of the qualifier in the original name, or
NAif none.
Examples
# Runs offline against the bundled example database.
old <- options(taxify.data_dir = taxify_example_data())
taxify("Pinus cf. sylvestris") |>
add_qualifier_info()
options(old)