Skip to contents

Joins US freshwater-mussel life-history and host traits to a taxify() result by accepted_name.

Usage

add_sheld(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 sheld_ columns: numeric mean_length_mm, max_length_mm, mature_age, max_age, growth_rate, fecundity, n_host_species, n_host_family; categorical brood, marsupial_gills, hermaphrodite, shell_sculpture.

Details

Source: SHELD (Hopper et al. 2023, Scientific Data, CC-BY 4.0).

References

Hopper GW et al. (2023) A trait dataset for freshwater mussels of the United States of America. Scientific Data 10:745. doi:10.1038/s41597-023-02635-9

Examples

if (FALSE) { # \dontrun{
taxify("Lampsilis cardium", backbone = "gbif") |>
  add_sheld()
} # }