Last modified by Artur on 2025/09/10 11:19

From version 4.1
edited by Helena
on 2025/05/22 00:47
Change comment: There is no comment for this version
To version 9.1
edited by Helena
on 2025/05/22 10:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,6 @@
1 -= {{id name="_Toc371008"/}}5 Data Structure Definition and Dataset =
1 +{{box title="**Contents**"}}
2 +{{toc/}}
3 +{{/box}}
2 2  
3 3  == {{id name="_Toc371009"/}}5.1 Introduction ==
4 4  
... ... @@ -91,8 +91,12 @@
91 91  
92 92  === {{id name="_Toc371014"/}}5.3.1 Class Diagram ===
93 93  
94 -====== Figure 23 Relationship class diagram of the Data Structure Definition excluding representation ======
96 +(% class="wikigeneratedid" %)
97 +[[image:1747897165713-725.png]]
95 95  
99 +(% class="wikigeneratedid" id="HFigure23RelationshipclassdiagramoftheDataStructureDefinitionexcludingrepresentation" %)
100 +**Figure 23 Relationship class diagram of the Data Structure Definition excluding representation**
101 +
96 96  === {{id name="_Toc371015"/}}5.3.2 Explanation of the Diagrams ===
97 97  
98 98  ==== 5.3.2.1 Narrative ====
... ... @@ -104,16 +104,15 @@
104 104  There are three types of dimension each having a common association to Concept:
105 105  
106 106  * Dimension
107 -* MeasureDimension  TimeDimension
113 +* MeasureDimension
114 +* TimeDimension
108 108  
109 109  Note that In the description here //DimensionComponent// can be oany or all of its sub classes i.e. Dimension, MeasureDimension, TimeDimension., and the term “DataAttribute” refers to both DataAttribute and its sub class ReportingYearStartDate.
110 110  
111 111  The //DimensionComponent//, DataAttribute, and PrimaryMeasure link to the Concept that defines its name and semantic (/conceptIdentity association to Concept). The DataAttribute, Dimension, and MeasureDimension (but not TimeDimension) can optionally have a +conceptRole association with a Concept that identifies its role in the DataStructureDefinition. Therefore, the allowable roles of a Concept are maintained in a ConceptScheme. Examples of roles are: geography, entity, count, unit of measure. The use of these roles is to enable applications to process the data in a meaningful way (e.g. relating a dimension value to a mapping vector). It is expected that communities (such as the official statistics community) will harmonise these roles with their community so that data can be exchanged and shared in a meaningful way in the community.
112 112  
113 -The valid values for a //DimensionComponent//, PrimaryMeasure, or DataAttribute, when used in this DataStructureDefinition, are defined by the Representation. This Representation is taken from the Concept definition (coreRepresentation) unless it is overridden in this DataStructureDefinition (localRepresentation) – see Figure 23. Note that for the MeasureDimension the Representation must be a ConceptScheme and this must always be referenced from the MeasureDimension and cannot therefore be defaulted to the Representation of the Concept associated by the/conceptIdentity. Note also that TimeDimension and ReportingYearStartDate are constrained to specific
120 +The valid values for a //DimensionComponent//, PrimaryMeasure, or DataAttribute, when used in this DataStructureDefinition, are defined by the Representation. This Representation is taken from the Concept definition (coreRepresentation) unless it is overridden in this DataStructureDefinition (localRepresentation) – see Figure 23. Note that for the MeasureDimension the Representation must be a ConceptScheme and this must always be referenced from the MeasureDimension and cannot therefore be defaulted to the Representation of the Concept associated by the/conceptIdentity. Note also that TimeDimension and ReportingYearStartDate are constrained to specific FacetValueTypes
114 114  
115 -FacetValueTypes
116 -
117 117  There will always be a DimensionDescriptor grouping that identifies all of the Dimension comprising the full key. Together the Dimensions specify the key of an Observation.
118 118  
119 119  The //DimensionComponent// can optionally be grouped by multiple GroupDimensionDescriptors each of which identifies the group of Dimensions that can form a partial key. The GroupDimensionDescriptor must be identified (GroupDimensionDescriptor.id) and this is used in the GroupKey of the DataSet to declare which DataAttributes are reported at this group level in the DataSet.
... ... @@ -133,27 +133,26 @@
133 133  * Set of Dimensions specified by a GroupKey (GroupRelationship – this is retained for compatibility reasons – or +groupKey of the DimensionRelationship)
134 134  * Observation (PrimaryMeasureRelationship)
135 135  
141 +[[image:1747896950895-141.png]]
142 +
136 136  **Figure 24: Attribute Attachment Defined in the Data Structure Definition**
137 137  
138 138  The following table details the possible relationships a DataAttribute may specify. Note that these relationships are mutually exclusive, and therefore only one of the following is possible.
139 139  
140 -:
141 -
142 142  (((
143 -|**Relationship**|**Meaning**|**Location in Data Set at which the Attribute is reported**
144 -|None|The value of the attribute does not vary with the values of any other Component.|The attribute is reported at the level of the Dataset Attribute.
148 +(% style="width:1104.83px" %)
149 +|**Relationship**|(% style="width:415px" %)**Meaning**|(% style="width:556px" %)**Location in Data Set at which the Attribute is reported**
150 +|None|(% style="width:415px" %)The value of the attribute does not vary with the values of any other Component.|(% style="width:556px" %)The attribute is reported at the level of the Dataset Attribute.
145 145  |(((
146 146  Dimension
147 147  
148 148  (1..n)
149 -)))|The value of the attribute will vary with the value(s) of the referenced Dimension(s). In this case, Group(s) to which the attribute should be attached may optionally be specified.|The attribute is reported at the lowest level of the Dimension to which the Attribute is related, otherwise at the level of the Group if Attachment Group(s) is specified.
150 -|**Relationship**|**Meaning**|**Location in Data Set at which the Attribute is reported**
151 -|Group|(((
152 -The value of the Attribute varies with combination of values for all of the
153 -
154 -Dimensions contained in the Group. This is added as a convenience to listing all Dimensions and the attachment Group, but should only be used when the Attribute value varies based on __all__ Group Dimension values.
155 -)))|The attribute is reported at the level of Group.
156 -|Primary Measure|The value of the Attribute varies with the observed value.|The attribute is reported at the level of Observation.
155 +)))|(% style="width:415px" %)The value of the attribute will vary with the value(s) of the referenced Dimension(s). In this case, Group(s) to which the attribute should be attached may optionally be specified.|(% style="width:556px" %)The attribute is reported at the lowest level of the Dimension to which the Attribute is related, otherwise at the level of the Group if Attachment Group(s) is specified.
156 +|**Relationship**|(% style="width:415px" %)**Meaning**|(% style="width:556px" %)**Location in Data Set at which the Attribute is reported**
157 +|Group|(% style="width:415px" %)(((
158 +The value of the Attribute varies with combination of values for all of the Dimensions contained in the Group. This is added as a convenience to listing all Dimensions and the attachment Group, but should only be used when the Attribute value varies based on __all__ Group Dimension values.
159 +)))|(% style="width:556px" %)The attribute is reported at the level of Group.
160 +|Primary Measure|(% style="width:415px" %)The value of the Attribute varies with the observed value.|(% style="width:556px" %)The attribute is reported at the level of Observation.
157 157  )))
158 158  
159 159  **Figure 25: Representation of DSD Components**
... ... @@ -164,15 +164,16 @@
164 164  
165 165  ==== 5.3.2.2 Definitions ====
166 166  
167 -|**Class**|**Feature**|**Description**
168 -|StructureUsage| |See “SDMX Base”.
171 +(% style="width:1060.83px" %)
172 +|**Class**|**Feature**|(% style="width:695px" %)**Description**
173 +|StructureUsage| |(% style="width:695px" %)See “SDMX Base”.
169 169  |DataflowDefinition|(((
170 170  Inherits from
171 171  //StructureUsage//
172 -)))|Abstract concept (i.e. the structure without any data) of a flow of data that providers will provide for different reference periods.
173 -| |/structure|Associates a Dataflow Definition to the Data Structure Definition.
174 -|DataStructureDefinition| |A collection of metadata concepts, their structure and usage when used to collect or disseminate data.
175 -| |///grouping//|An association to a set of metadata concepts that have an identified structural role in a Data Structure Definition.
177 +)))|(% style="width:695px" %)Abstract concept (i.e. the structure without any data) of a flow of data that providers will provide for different reference periods.
178 +| |/structure|(% style="width:695px" %)Associates a Dataflow Definition to the Data Structure Definition.
179 +|DataStructureDefinition| |(% style="width:695px" %)A collection of metadata concepts, their structure and usage when used to collect or disseminate data.
180 +| |///grouping//|(% style="width:695px" %)An association to a set of metadata concepts that have an identified structural role in a Data Structure Definition.
176 176  |(((
177 177  Group
178 178  
... ... @@ -180,36 +180,36 @@
180 180  )))|(((
181 181  Inherits from
182 182  //ComponentList//
183 -)))|A set metadata concepts that define a partial key derived from the Dimension Descriptor in a Data Structure Definition.
184 -| |+constraint|Identifies an Attachment Constraint that specifies the sub set of Dimension, Measure, or Attribute values to which an Attribute can be attached.
185 -| |/components|An association to the Dimension and Measure Dimension components that comprise the group.
188 +)))|(% style="width:695px" %)A set metadata concepts that define a partial key derived from the Dimension Descriptor in a Data Structure Definition.
189 +| |+constraint|(% style="width:695px" %)Identifies an Attachment Constraint that specifies the sub set of Dimension, Measure, or Attribute values to which an Attribute can be attached.
190 +| |/components|(% style="width:695px" %)An association to the Dimension and Measure Dimension components that comprise the group.
186 186  |DimensionDescriptor|(((
187 187  Inherits from
188 188  //ComponentList//
189 -)))|An ordered set of metadata concepts that, combined, classify a statistical series, and whose values, when combined (the key) in an instance such as a data set, uniquely identify a specific observation.
190 -| |/components|An association to the Dimension, Measure Dimension, and Time Dimension comprising the Key Descriptor.
194 +)))|(% style="width:695px" %)An ordered set of metadata concepts that, combined, classify a statistical series, and whose values, when combined (the key) in an instance such as a data set, uniquely identify a specific observation.
195 +| |/components|(% style="width:695px" %)An association to the Dimension, Measure Dimension, and Time Dimension comprising the Key Descriptor.
191 191  |AttributeDescriptor|(((
192 192  Inherits from
193 193  //ComponentList//
194 -)))|A set metadata concepts that define the attributes of a Data Structure Definition.
195 -| |/components|An association to a Data Attribute component.
199 +)))|(% style="width:695px" %)A set metadata concepts that define the attributes of a Data Structure Definition.
200 +| |/components|(% style="width:695px" %)An association to a Data Attribute component.
196 196  |MeasureDescriptor|(((
197 197  Inherits from
198 198  
199 199  //ComponentList//
200 -)))|A metadata concept that defines the measure of a Data Structure Definition.
201 -| |/components|An association to a measure component.
205 +)))|(% style="width:695px" %)A metadata concept that defines the measure of a Data Structure Definition.
206 +| |/components|(% style="width:695px" %)An association to a measure component.
202 202  |Dimension|(((
203 203  Inherits from
204 204  Component
205 -)))|A metadata concept used (most probably together with other metadata concepts) to classify a statistical series, e.g. a statistical concept indicating a certain economic activity or a geographical reference area.
206 -| |/role|Association to the Concept that specifies the role that that the Dimension plays in the Data Structure Definition.
207 -| |/conceptIdentity|An association to the metadata concept which defines the semantic of the Dimension.
210 +)))|(% style="width:695px" %)A metadata concept used (most probably together with other metadata concepts) to classify a statistical series, e.g. a statistical concept indicating a certain economic activity or a geographical reference area.
211 +| |/role|(% style="width:695px" %)Association to the Concept that specifies the role that that the Dimension plays in the Data Structure Definition.
212 +| |/conceptIdentity|(% style="width:695px" %)An association to the metadata concept which defines the semantic of the Dimension.
208 208  |MeasureDimension|(((
209 209  Inherits from
210 210  
211 211  Dimension
212 -)))|A statistical concept that identifies the component in the key structure that has an enumerated list of measures. This dimension has, as its representation the Concept Scheme that enumerates the measure concepts.
217 +)))|(% style="width:695px" %)A statistical concept that identifies the component in the key structure that has an enumerated list of measures. This dimension has, as its representation the Concept Scheme that enumerates the measure concepts.
213 213  |DataAttribute|(((
214 214  Inherits from
215 215  Component
... ... @@ -216,25 +216,25 @@
216 216  Sub class
217 217  ReportingYear
218 218  StartDay
219 -)))|A characteristic of an object or entity.
220 -| |/role|Association to the Concept that specifies the role that that the Data Attribute plays in the Data Structure Definition.
221 -| |usageStatus|Defines the usage status which is constrained by the data type Usage Status.
222 -| |+relatedTo|Association to a Attribute Relationship.
223 -| |/conceptIdentity|An association to the Concept which defines the semantic of the component.
224 +)))|(% style="width:695px" %)A characteristic of an object or entity.
225 +| |/role|(% style="width:695px" %)Association to the Concept that specifies the role that that the Data Attribute plays in the Data Structure Definition.
226 +| |usageStatus|(% style="width:695px" %)Defines the usage status which is constrained by the data type Usage Status.
227 +| |+relatedTo|(% style="width:695px" %)Association to a Attribute Relationship.
228 +| |/conceptIdentity|(% style="width:695px" %)An association to the Concept which defines the semantic of the component.
224 224  |TimeDimension|(((
225 225  Inherits from
226 226  
227 227  Dimension
228 -)))|A metadata concept that identifies the component in the key structure that has the role of “time”.
233 +)))|(% style="width:695px" %)A metadata concept that identifies the component in the key structure that has the role of “time”.
229 229  |ReportingYearStartDay|(((
230 230  Inherits from
231 231  DataAttribute
232 -)))|A specialised Data Attribute whose value is used in conjunction with the predefined reporting periods in the Time Dimension. If this is not present, then by default all reporting period values for the Time Dimension will be assumed to be based on a reporting year start day of January 1.
237 +)))|(% style="width:695px" %)A specialised Data Attribute whose value is used in conjunction with the predefined reporting periods in the Time Dimension. If this is not present, then by default all reporting period values for the Time Dimension will be assumed to be based on a reporting year start day of January 1.
233 233  |PrimaryMeasure|(((
234 234  Inherits from
235 235  //Component//
236 -)))|The metadata concept that is the phenomenon to be measured in a data set. In a data set the instance of the measure is often called the observation.
237 -| |/conceptIdentity|An association to the Concept which carries the values of the measures.
241 +)))|(% style="width:695px" %)The metadata concept that is the phenomenon to be measured in a data set. In a data set the instance of the measure is often called the observation.
242 +| |/conceptIdentity|(% style="width:695px" %)An association to the Concept which carries the values of the measures.
238 238  |//AttributeRelationship//|(((
239 239  Abstract Class
240 240  Sub classes
... ... @@ -245,14 +245,14 @@
245 245  GroupRelationship
246 246  Dimension
247 247  Relationship
248 -)))|Specifies the type of artefact to which a Data Attribute can be attached in a Data Set.
249 -|NoSpecifiedRelationship| |The Data Attribute is not related to any specific construct.
250 -|PrimaryMeasure Relationship| |The Data Attribute is related to the Primary Measure construct.
251 -|GroupRelationship| |The Data Attribute is related to a Group Dimension Descriptor construct.
252 -| |+groupKey|An association to the Group Dimension Descriptor
253 -|DimensionRelationship| |The Data Attribute is related to a set of Dimensions.
254 -| |+dimensions|Association to the set of Dimensions to which the Data Attribute is related.
255 -| |+groupKey|Association to the Group Dimension Descriptor which specifies the set of Dimensions to which the Data Attribute is attached.
253 +)))|(% style="width:695px" %)Specifies the type of artefact to which a Data Attribute can be attached in a Data Set.
254 +|NoSpecifiedRelationship| |(% style="width:695px" %)The Data Attribute is not related to any specific construct.
255 +|PrimaryMeasure Relationship| |(% style="width:695px" %)The Data Attribute is related to the Primary Measure construct.
256 +|GroupRelationship| |(% style="width:695px" %)The Data Attribute is related to a Group Dimension Descriptor construct.
257 +| |+groupKey|(% style="width:695px" %)An association to the Group Dimension Descriptor
258 +|DimensionRelationship| |(% style="width:695px" %)The Data Attribute is related to a set of Dimensions.
259 +| |+dimensions|(% style="width:695px" %)Association to the set of Dimensions to which the Data Attribute is related.
260 +| |+groupKey|(% style="width:695px" %)Association to the Group Dimension Descriptor which specifies the set of Dimensions to which the Data Attribute is attached.
256 256  
257 257  The explanation of the classes, attributes, and associations comprising the Representation is described in the section on the SDMX Base.
258 258  
... ... @@ -264,9 +264,11 @@
264 264  
265 265  === {{id name="_Toc371018"/}}5.4.2 Class Diagram ===
266 266  
267 -====== ======
272 +(% class="wikigeneratedid" id="H" %)
273 +[[image:1747897072125-219.png]]
268 268  
269 -====== **Figure 26 Class Diagram of the Data Set** ======
275 +(% class="wikigeneratedid" id="HFigure26ClassDiagramoftheDataSet" %)
276 +**Figure 26 Class Diagram of the Data Set**
270 270  
271 271  === {{id name="_Toc371019"/}}5.4.3 Explanation of the Diagram ===
272 272  
... ... @@ -442,4 +442,4 @@
442 442  Note that this is a conceptual association showing that the Code must exist in the Code list associated with the Data Attribute in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Attribute Value.
443 443  )))
444 444  
445 -Ъ
452 +
1747896950895-141.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +29.5 KB
Content
1747897072125-219.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +101.7 KB
Content
1747897165713-725.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +64.1 KB
Content
SUZ.Methodology.Code.MethodologyClass[0]
index
... ... @@ -1,0 +1,1 @@
1 +6