CDIFDataStructure

VariableValueComponent

CDIFDataStructure::Classes::VariableValueComponent

Definition

Documentation

Original
Reference

cdi:VariableValueComponent

Definition

Definition

Role given to a represented variable in the context of a data structure to record values of multiple variables.

Examples

Consider two variables, i.e. income and age, with their values living together in different entries in the same column. The values of those two variables are now in the value domain of a single variable (the one working as a variable value component). Another column, based on a variable descriptor component, use codes for "income" and "age" to distinguish income values from age values.

Explanatory notes

A variable value component captures the values of multiple variables that have been transposed into a single column. The variable descriptor component provides a mechanism to identify which of those values correspond to which variable. This structure provides a flexible mechanism avoiding the need for a formal pointer.

CDIF
Definition

Role given to a represented variable in the context of a data structure to record values of multiple variables.

Scope

Data-structure component carrying the value for the variable named by a VariableDescriptorComponent in a long-format row.

Diagram

Inheritance

Generalizes: DataStructureComponent

Attributes

No attributes.

Associations

RoleTargetMultiplicityKind
hasComponentDataStructure[0..*]composition
hasComponentLongDataStructure[1]composition
refersToVariableDescriptorComponent[1]association