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

From version 10.1
edited by Helena
on 2025/05/22 13:47
Change comment: There is no comment for this version
To version 3.5
edited by Helena
on 2025/05/22 00:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,4 @@
1 -{{box title="**Contents**"}}
2 -{{toc/}}
3 -{{/box}}
1 += {{id name="_Toc371008"/}}5 Data Structure Definition and Dataset =
4 4  
5 5  == {{id name="_Toc371009"/}}5.1 Introduction ==
6 6  
... ... @@ -93,12 +93,8 @@
93 93  
94 94  === {{id name="_Toc371014"/}}5.3.1 Class Diagram ===
95 95  
96 -(% class="wikigeneratedid" %)
97 -[[image:1747897165713-725.png]]
94 +====== Figure 23 Relationship class diagram of the Data Structure Definition excluding representation ======
98 98  
99 -(% class="wikigeneratedid" id="HFigure23RelationshipclassdiagramoftheDataStructureDefinitionexcludingrepresentation" %)
100 -**Figure 23 Relationship class diagram of the Data Structure Definition excluding representation**
101 -
102 102  === {{id name="_Toc371015"/}}5.3.2 Explanation of the Diagrams ===
103 103  
104 104  ==== 5.3.2.1 Narrative ====
... ... @@ -110,15 +110,16 @@
110 110  There are three types of dimension each having a common association to Concept:
111 111  
112 112  * Dimension
113 -* MeasureDimension
114 -* TimeDimension
107 +* MeasureDimension  TimeDimension
115 115  
116 116  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.
117 117  
118 118  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.
119 119  
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
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
121 121  
115 +FacetValueTypes
116 +
122 122  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.
123 123  
124 124  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.
... ... @@ -138,25 +138,27 @@
138 138  * Set of Dimensions specified by a GroupKey (GroupRelationship – this is retained for compatibility reasons – or +groupKey of the DimensionRelationship)
139 139  * Observation (PrimaryMeasureRelationship)
140 140  
141 -[[image:1747896950895-141.png]]
142 -
143 143  **Figure 24: Attribute Attachment Defined in the Data Structure Definition**
144 144  
145 145  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.
146 146  
140 +:
141 +
147 147  (((
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.
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.
151 151  |(((
152 152  Dimension
153 153  
154 154  (1..n)
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 -|Group|(% style="width:415px" %)(((
157 -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.
158 -)))|(% style="width:556px" %)The attribute is reported at the level of Group.
159 -|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.
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.
160 160  )))
161 161  
162 162  **Figure 25: Representation of DSD Components**
... ... @@ -167,16 +167,15 @@
167 167  
168 168  ==== 5.3.2.2 Definitions ====
169 169  
170 -(% style="width:1060.83px" %)
171 -|**Class**|**Feature**|(% style="width:695px" %)**Description**
172 -|StructureUsage| |(% style="width:695px" %)See “SDMX Base”.
167 +|**Class**|**Feature**|**Description**
168 +|StructureUsage| |See “SDMX Base”.
173 173  |DataflowDefinition|(((
174 174  Inherits from
175 175  //StructureUsage//
176 -)))|(% 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.
177 -| |/structure|(% style="width:695px" %)Associates a Dataflow Definition to the Data Structure Definition.
178 -|DataStructureDefinition| |(% style="width:695px" %)A collection of metadata concepts, their structure and usage when used to collect or disseminate data.
179 -| |///grouping//|(% style="width:695px" %)An association to a set of metadata concepts that have an identified structural role in a Data Structure Definition.
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.
180 180  |(((
181 181  Group
182 182  
... ... @@ -184,36 +184,36 @@
184 184  )))|(((
185 185  Inherits from
186 186  //ComponentList//
187 -)))|(% style="width:695px" %)A set metadata concepts that define a partial key derived from the Dimension Descriptor in a Data Structure Definition.
188 -| |+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.
189 -| |/components|(% style="width:695px" %)An association to the Dimension and Measure Dimension components that comprise the group.
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.
190 190  |DimensionDescriptor|(((
191 191  Inherits from
192 192  //ComponentList//
193 -)))|(% 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.
194 -| |/components|(% style="width:695px" %)An association to the Dimension, Measure Dimension, and Time Dimension comprising the Key Descriptor.
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.
195 195  |AttributeDescriptor|(((
196 196  Inherits from
197 197  //ComponentList//
198 -)))|(% style="width:695px" %)A set metadata concepts that define the attributes of a Data Structure Definition.
199 -| |/components|(% style="width:695px" %)An association to a Data Attribute component.
194 +)))|A set metadata concepts that define the attributes of a Data Structure Definition.
195 +| |/components|An association to a Data Attribute component.
200 200  |MeasureDescriptor|(((
201 201  Inherits from
202 202  
203 203  //ComponentList//
204 -)))|(% style="width:695px" %)A metadata concept that defines the measure of a Data Structure Definition.
205 -| |/components|(% style="width:695px" %)An association to a measure component.
200 +)))|A metadata concept that defines the measure of a Data Structure Definition.
201 +| |/components|An association to a measure component.
206 206  |Dimension|(((
207 207  Inherits from
208 208  Component
209 -)))|(% 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.
210 -| |/role|(% style="width:695px" %)Association to the Concept that specifies the role that that the Dimension plays in the Data Structure Definition.
211 -| |/conceptIdentity|(% style="width:695px" %)An association to the metadata concept which defines the semantic of the Dimension.
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.
212 212  |MeasureDimension|(((
213 213  Inherits from
214 214  
215 215  Dimension
216 -)))|(% 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.
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 217  |DataAttribute|(((
218 218  Inherits from
219 219  Component
... ... @@ -220,25 +220,25 @@
220 220  Sub class
221 221  ReportingYear
222 222  StartDay
223 -)))|(% style="width:695px" %)A characteristic of an object or entity.
224 -| |/role|(% style="width:695px" %)Association to the Concept that specifies the role that that the Data Attribute plays in the Data Structure Definition.
225 -| |usageStatus|(% style="width:695px" %)Defines the usage status which is constrained by the data type Usage Status.
226 -| |+relatedTo|(% style="width:695px" %)Association to a Attribute Relationship.
227 -| |/conceptIdentity|(% style="width:695px" %)An association to the Concept which defines the semantic of the component.
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.
228 228  |TimeDimension|(((
229 229  Inherits from
230 230  
231 231  Dimension
232 -)))|(% style="width:695px" %)A metadata concept that identifies the component in the key structure that has the role of “time”.
228 +)))|A metadata concept that identifies the component in the key structure that has the role of “time”.
233 233  |ReportingYearStartDay|(((
234 234  Inherits from
235 235  DataAttribute
236 -)))|(% 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.
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 237  |PrimaryMeasure|(((
238 238  Inherits from
239 239  //Component//
240 -)))|(% 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.
241 -| |/conceptIdentity|(% style="width:695px" %)An association to the Concept which carries the values of the measures.
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.
242 242  |//AttributeRelationship//|(((
243 243  Abstract Class
244 244  Sub classes
... ... @@ -249,14 +249,14 @@
249 249  GroupRelationship
250 250  Dimension
251 251  Relationship
252 -)))|(% style="width:695px" %)Specifies the type of artefact to which a Data Attribute can be attached in a Data Set.
253 -|NoSpecifiedRelationship| |(% style="width:695px" %)The Data Attribute is not related to any specific construct.
254 -|PrimaryMeasure Relationship| |(% style="width:695px" %)The Data Attribute is related to the Primary Measure construct.
255 -|GroupRelationship| |(% style="width:695px" %)The Data Attribute is related to a Group Dimension Descriptor construct.
256 -| |+groupKey|(% style="width:695px" %)An association to the Group Dimension Descriptor
257 -|DimensionRelationship| |(% style="width:695px" %)The Data Attribute is related to a set of Dimensions.
258 -| |+dimensions|(% style="width:695px" %)Association to the set of Dimensions to which the Data Attribute is related.
259 -| |+groupKey|(% style="width:695px" %)Association to the Group Dimension Descriptor which specifies the set of Dimensions to which the Data Attribute is attached.
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.
260 260  
261 261  The explanation of the classes, attributes, and associations comprising the Representation is described in the section on the SDMX Base.
262 262  
... ... @@ -268,12 +268,8 @@
268 268  
269 269  === {{id name="_Toc371018"/}}5.4.2 Class Diagram ===
270 270  
271 -(% class="wikigeneratedid" id="H" %)
272 -[[image:1747897072125-219.png]]
267 +====== Figure 26 Class Diagram of the Data Set ======
273 273  
274 -(% class="wikigeneratedid" id="HFigure26ClassDiagramoftheDataSet" %)
275 -**Figure 26 Class Diagram of the Data Set**
276 -
277 277  === {{id name="_Toc371019"/}}5.4.3 Explanation of the Diagram ===
278 278  
279 279  ==== 5.4.3.1 Narrative – Data Set ====
... ... @@ -447,3 +447,5 @@
447 447  Association to the Code that is the value of the Attribute Value.
448 448  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.
449 449  )))
442 +
443
1747896950895-141.png
Author
... ... @@ -1,1 +1,0 @@
1 -xwiki:XWiki.helena
Size
... ... @@ -1,1 +1,0 @@
1 -29.5 KB
Content
1747897072125-219.png
Author
... ... @@ -1,1 +1,0 @@
1 -xwiki:XWiki.helena
Size
... ... @@ -1,1 +1,0 @@
1 -101.7 KB
Content
1747897165713-725.png
Author
... ... @@ -1,1 +1,0 @@
1 -xwiki:XWiki.helena
Size
... ... @@ -1,1 +1,0 @@
1 -64.1 KB
Content
SUZ.Methodology.Code.MethodologyClass[0]
index
... ... @@ -1,1 +1,0 @@
1 -6