Joins pelagic fish/cephalopod/gelatinous traits to a taxify() result by
accepted_name.
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 pelagic_ columns: numeric depth_min_m,
depth_max_m, temp_min_c, temp_max_c, temp_mean_c,
length_min_tl_cm, length_max_tl_cm, trophic_level; categorical
vert_habitat, horz_habitat, body_shape, phys_defense, gregarious.
References
Gleiber MR et al. (2024) A trait database for pelagic species. Scientific Data. doi:10.5683/SP3/0YFJED
Examples
if (FALSE) { # \dontrun{
taxify("Thunnus albacares", backbone = "gbif") |>
add_pelagic()
} # }