GIFT_traits_tax {GIFT} | R Documentation |
Traits at the taxonomic level
Description
Retrieve specific trait values at a high taxonomic level.
Usage
GIFT_traits_tax(
trait_IDs = "",
agreement = 0.66,
bias_ref = TRUE,
bias_deriv = TRUE,
api = "https://gift.uni-goettingen.de/api/extended/",
GIFT_version = "latest"
)
Arguments
trait_IDs |
a character string indicating which trait you want to retrieve. Traits must belong to the available list of traits. |
agreement |
Percentage of resources that agree on an aggregated trait value, entries below this threshold will be omitted. |
bias_ref |
When |
bias_deriv |
When |
api |
character string defining from which API the data will be retrieved. |
GIFT_version |
character string defining the version of the GIFT
database to use. The function retrieves by default the |
Details
Here is the detail of each column:
taxon_ID - Identification number of the taxon
taxon_name - Name of the taxon
agreement - Agreement score between the different sources for that
trait value, only for categorical traits
references - Source of the trait values (ref_ID
)
negative - Does the record indicate the absence of trait value in
taxon_ID
and then one column per trait with the respective trait values
Value
A long-format data frame with 7 columns: taxon_ID
, taxon_name
,
trait_value
, agreement
, references
and negative
.
References
Denelle, P., Weigelt, P., & Kreft, H. (2023). GIFT—An R package to access the Global Inventory of Floras and Traits. Methods in Ecology and Evolution, 14, 2738-2748. https://doi.org/10.1111/2041-210X.14213 Weigelt, P, König, C, Kreft, H. GIFT – A Global Inventory of Floras and Traits for macroecology and biogeography. J Biogeogr. 2020; 47: 16– 43. https://doi.org/10.1111/jbi.13623
See Also
Examples
ex <- GIFT_traits_tax(trait_IDs = c("1.2.1", "1.4.1"),
bias_ref = FALSE, bias_deriv = FALSE)