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

From version 6.1
edited by Helena
on 2025/05/22 09:57
Change comment: There is no comment for this version
To version 4.1
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  
... ... @@ -106,15 +106,16 @@
106 106  There are three types of dimension each having a common association to Concept:
107 107  
108 108  * Dimension
109 -* MeasureDimension
110 -* TimeDimension
107 +* MeasureDimension  TimeDimension
111 111  
112 112  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.
113 113  
114 114  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.
115 115  
116 -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
117 117  
115 +FacetValueTypes
116 +
118 118  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.
119 119  
120 120  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.
... ... @@ -134,26 +134,27 @@
134 134  * Set of Dimensions specified by a GroupKey (GroupRelationship – this is retained for compatibility reasons – or +groupKey of the DimensionRelationship)
135 135  * Observation (PrimaryMeasureRelationship)
136 136  
137 -[[image:1747896950895-141.png]]
138 -
139 139  **Figure 24: Attribute Attachment Defined in the Data Structure Definition**
140 140  
141 141  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.
142 142  
140 +:
141 +
143 143  (((
144 -(% style="width:1104.83px" %)
145 -|**Relationship**|(% style="width:415px" %)**Meaning**|(% style="width:556px" %)**Location in Data Set at which the Attribute is reported**
146 -|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.
147 147  |(((
148 148  Dimension
149 149  
150 150  (1..n)
151 -)))|(% 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.
152 -|**Relationship**|(% style="width:415px" %)**Meaning**|(% style="width:556px" %)**Location in Data Set at which the Attribute is reported**
153 -|Group|(% style="width:415px" %)(((
154 -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.
155 -)))|(% style="width:556px" %)The attribute is reported at the level of Group.
156 -|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.
157 157  )))
158 158  
159 159  **Figure 25: Representation of DSD Components**
... ... @@ -164,16 +164,15 @@
164 164  
165 165  ==== 5.3.2.2 Definitions ====
166 166  
167 -(% style="width:1060.83px" %)
168 -|**Class**|**Feature**|(% style="width:695px" %)**Description**
169 -|StructureUsage| |(% style="width:695px" %)See “SDMX Base”.
167 +|**Class**|**Feature**|**Description**
168 +|StructureUsage| |See “SDMX Base”.
170 170  |DataflowDefinition|(((
171 171  Inherits from
172 172  //StructureUsage//
173 -)))|(% 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.
174 -| |/structure|(% style="width:695px" %)Associates a Dataflow Definition to the Data Structure Definition.
175 -|DataStructureDefinition| |(% style="width:695px" %)A collection of metadata concepts, their structure and usage when used to collect or disseminate data.
176 -| |///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.
177 177  |(((
178 178  Group
179 179  
... ... @@ -181,36 +181,36 @@
181 181  )))|(((
182 182  Inherits from
183 183  //ComponentList//
184 -)))|(% style="width:695px" %)A set metadata concepts that define a partial key derived from the Dimension Descriptor in a Data Structure Definition.
185 -| |+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.
186 -| |/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.
187 187  |DimensionDescriptor|(((
188 188  Inherits from
189 189  //ComponentList//
190 -)))|(% 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.
191 -| |/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.
192 192  |AttributeDescriptor|(((
193 193  Inherits from
194 194  //ComponentList//
195 -)))|(% style="width:695px" %)A set metadata concepts that define the attributes of a Data Structure Definition.
196 -| |/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.
197 197  |MeasureDescriptor|(((
198 198  Inherits from
199 199  
200 200  //ComponentList//
201 -)))|(% style="width:695px" %)A metadata concept that defines the measure of a Data Structure Definition.
202 -| |/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.
203 203  |Dimension|(((
204 204  Inherits from
205 205  Component
206 -)))|(% 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.
207 -| |/role|(% style="width:695px" %)Association to the Concept that specifies the role that that the Dimension plays in the Data Structure Definition.
208 -| |/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.
209 209  |MeasureDimension|(((
210 210  Inherits from
211 211  
212 212  Dimension
213 -)))|(% 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.
214 214  |DataAttribute|(((
215 215  Inherits from
216 216  Component
... ... @@ -217,25 +217,25 @@
217 217  Sub class
218 218  ReportingYear
219 219  StartDay
220 -)))|(% style="width:695px" %)A characteristic of an object or entity.
221 -| |/role|(% style="width:695px" %)Association to the Concept that specifies the role that that the Data Attribute plays in the Data Structure Definition.
222 -| |usageStatus|(% style="width:695px" %)Defines the usage status which is constrained by the data type Usage Status.
223 -| |+relatedTo|(% style="width:695px" %)Association to a Attribute Relationship.
224 -| |/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.
225 225  |TimeDimension|(((
226 226  Inherits from
227 227  
228 228  Dimension
229 -)))|(% 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”.
230 230  |ReportingYearStartDay|(((
231 231  Inherits from
232 232  DataAttribute
233 -)))|(% 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.
234 234  |PrimaryMeasure|(((
235 235  Inherits from
236 236  //Component//
237 -)))|(% 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.
238 -| |/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.
239 239  |//AttributeRelationship//|(((
240 240  Abstract Class
241 241  Sub classes
... ... @@ -246,14 +246,14 @@
246 246  GroupRelationship
247 247  Dimension
248 248  Relationship
249 -)))|(% style="width:695px" %)Specifies the type of artefact to which a Data Attribute can be attached in a Data Set.
250 -|NoSpecifiedRelationship| |(% style="width:695px" %)The Data Attribute is not related to any specific construct.
251 -|PrimaryMeasure Relationship| |(% style="width:695px" %)The Data Attribute is related to the Primary Measure construct.
252 -|GroupRelationship| |(% style="width:695px" %)The Data Attribute is related to a Group Dimension Descriptor construct.
253 -| |+groupKey|(% style="width:695px" %)An association to the Group Dimension Descriptor
254 -|DimensionRelationship| |(% style="width:695px" %)The Data Attribute is related to a set of Dimensions.
255 -| |+dimensions|(% style="width:695px" %)Association to the set of Dimensions to which the Data Attribute is related.
256 -| |+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.
257 257  
258 258  The explanation of the classes, attributes, and associations comprising the Representation is described in the section on the SDMX Base.
259 259  
... ... @@ -265,11 +265,9 @@
265 265  
266 266  === {{id name="_Toc371018"/}}5.4.2 Class Diagram ===
267 267  
268 -(% class="wikigeneratedid" id="H" %)
269 -[[image:1747897072125-219.png]]
267 +====== ======
270 270  
271 -(% class="wikigeneratedid" id="HFigure26ClassDiagramoftheDataSet" %)
272 -**Figure 26 Class Diagram of the Data Set**
269 +====== **Figure 26 Class Diagram of the Data Set** ======
273 273  
274 274  === {{id name="_Toc371019"/}}5.4.3 Explanation of the Diagram ===
275 275  
... ... @@ -445,4 +445,4 @@
445 445  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.
446 446  )))
447 447  
448 -
445 +Ъ
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