Skip to contents

Prints the kind, canonical unit, and (for categorical traits) the shared vocabulary of a trait, and returns a data.frame of the sources add_trait() draws from – one row per source, with its enrichment, source column, citation, and the harmonization note (unit conversion or vocabulary mapping).

Usage

trait_info(trait)

Arguments

trait

Character. A single trait name; see list_traits().

Value

A data.frame (invisibly-friendly) with columns source, enrichment, column, citation, note (unit or vocabulary harmonization), and caution (a method or definition difference from the reference source, or NA). The header line (label, kind, unit, default priority, vocabulary) is printed as a message.

Examples

trait_info("woodiness")