Skip to contents

Joins Odonate Phenotypic Database categorical traits to a taxify() result by accepted_name (modal value per species).

Usage

add_odonata(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 categorical odonata_territoriality, odonata_flight_mode, odonata_mate_guarding, odonata_habitat_openness, odonata_has_wing_pigment.

Details

Source: Odonate Phenotypic Database (Waller et al., Dryad, CC-BY 4.0).

References

Waller JT et al. The Odonate Phenotypic Database. Dryad. doi:10.5061/dryad.15pm5qc

Examples

if (FALSE) { # \dontrun{
taxify("Calopteryx splendens", backbone = "gbif") |>
  add_odonata()
} # }