exportVariablesDescription: Generate descriptions for trial variables

View source: R/exportVariablesDescription.R

exportVariablesDescriptionR Documentation

Generate descriptions for trial variables

Description

Extracts metadata for variables found in tricot block data and ranking data, combining question descriptors from the registry and assessments. This function harmonizes variable names and assigns relevant descriptions, value types, and placeholders for ontology and controlled vocabularies.

Usage

exportVariablesDescription(x, tricot_ranks, measured_traits, block_data)

Arguments

x

An object of class CM_list containing raw ClimMob trial data.

tricot_ranks

A data frame of tricot rankings generated by exportTricotRanks().

measured_traits

A data frame of plot data generated by exportMeasuredTraits().

block_data

A data frame of block-level data generated by exportBlockData().

Value

A data frame describing all trial variables, including name, description, value type, and optional fields for ontology and controlled vocabularies.

See Also

Other export functions: exportBlockData(), exportMeasuredTraits(), exportTrialMetadata(), exportTricotRanks()


ClimMobTools documentation built on Nov. 15, 2025, 5:06 p.m.