Skip to contents

Joins pelagic fish/cephalopod/gelatinous traits to a taxify() result by accepted_name.

Usage

add_pelagic(x, cols = NULL, verbose = TRUE)

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. See enrichment_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.

Details

Source: Gleiber et al. (2024) Pelagic Species Trait Database (Borealis, CC-BY 4.0).

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()
} # }