Joins shared bird/mammal frugivore 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 frugivoria_ columns: categorical
taxon_group, diet_category; numeric diet_breadth, body_mass_g,
body_size_mm, longevity, generation_time.
References
Gerstner BE et al. (2023) Frugivoria: a trait database for birds and mammals exhibiting frugivory across contiguous Neotropical moist forests. EDI (edi.1220.5).
Examples
if (FALSE) { # \dontrun{
taxify("Ramphastos toco", backbone = "gbif") |>
add_frugivoria()
} # }