Add freshwater thermal-tolerance traits (ThermoFresh)
Source:R/add-thermofresh.R
add_thermofresh.RdJoins species-level critical thermal limits for freshwater fish,
invertebrates and amphibians to a taxify() result by looking up
accepted_name. All values are in degrees Celsius.
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 additional columns:
- thermofresh_ctmax
Critical thermal maximum (degrees C).
- thermofresh_ctmin
Critical thermal minimum (degrees C).
- thermofresh_lt50
Median lethal temperature (degrees C).
- thermofresh_ltmax
Lethal thermal maximum (degrees C).
- thermofresh_ltmin
Lethal thermal minimum (degrees C).
Details
Source: the Freshwater thermal-tolerance database (Helena Bayat and contributors, Zenodo, CC BY 4.0). Each source record is one tolerance test; values are reduced to species-level medians per metric.
References
Freshwater thermal-tolerance database. Zenodo. doi:10.5281/zenodo.14056760
Examples
if (FALSE) { # \dontrun{
taxify("Salmo trutta", backbone = "gbif") |>
add_thermofresh()
} # }