LongDataStructure inherited from CDIFDataStructure
DiscoveryDataDescriptionStructure::Classes::LongDataStructure
Definition
Documentation
Original
Reference
cdi:LongDataStructure
Definition
Definition
Structure of a long dataset (organized collection of long data). It is described by identifier, measure, attribute, variable descriptor and variable value components.
Examples
The structure described by [Unit id, Income, Province, Variable name, Variable value] where Unit id identifies a statistical unit, Income and Province are two instance variables capturing characteristics, and other instance variables are represented by Variable name (a variable descriptor component) and Variable Value (a variable value component).
CDIF
Definition
Long (narrow) dataset row layout. Required: exactly one IdentifierComponent, one VariableDescriptorComponent, one VariableValueComponent. Optional AttributeComponents. Optional PrimaryKey.
Diagram
Inheritance
No generalization relationships.
Attributes
| Name | Type | Multiplicity | Description |
|---|---|---|---|
| type | string | [1..*] | DocumentationCDIFDefinition@type must contain 'cdi:LongDataStructure'. |
Associations
| Role | Target | Multiplicity | Kind |
|---|---|---|---|
| isStructuredBy | ← DataDownload | [0..1] | association |
| hasComponent | → IdentifierComponent | [1] | composition |
| hasComponent | → VariableDescriptorComponent | [1] | composition |
| hasComponent | → VariableValueComponent | [1] | composition |
| hasComponent | → AttributeComponent | [0..*] | composition |
| hasPrimaryKey | → PrimaryKey | [0..1] | composition |