Joins New Zealand marine benthic-invertebrate functional traits to a
taxify() result by accepted_name. Each fuzzy-coded trait is reduced to its
dominant modality.
Arguments
- x
A data.frame returned by
taxify().- cols
Which columns to attach:
NULL(default) the curated set,"all"every column the source carries, or a character vector of names. Seeenrichment_cols.- verbose
Logical. Default
TRUE.
Value
The same data.frame with categorical nztd_ columns: bioturbation,
body_size, degree_of_attachment, feeding_mode, living_habit,
mobility, morphology, movement_method, rigidity.
References
Lam-Gordillo O et al. (2023) New Zealand Trait Database (NZTD) for marine benthic invertebrates. figshare. doi:10.6084/m9.figshare.21939647
Examples
if (FALSE) { # \dontrun{
taxify("Macomona liliana", backbone = "gbif") |>
add_nztd()
} # }