Changes for page 5 Data Structure Definition and Dataset
Last modified by Artur on 2025/09/10 11:19
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
-
Objects (0 modified, 0 added, 1 removed)
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 FacetValueTypes113 +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,26 +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 -|**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. 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. 161 161 ))) 162 162 163 163 **Figure 25: Representation of DSD Components** ... ... @@ -168,16 +168,15 @@ 168 168 169 169 ==== 5.3.2.2 Definitions ==== 170 170 171 -(% style="width:1060.83px" %) 172 -|**Class**|**Feature**|(% style="width:695px" %)**Description** 173 -|StructureUsage| |(% style="width:695px" %)See “SDMX Base”. 167 +|**Class**|**Feature**|**Description** 168 +|StructureUsage| |See “SDMX Base”. 174 174 |DataflowDefinition|((( 175 175 Inherits from 176 176 //StructureUsage// 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.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. 181 181 |((( 182 182 Group 183 183 ... ... @@ -185,36 +185,36 @@ 185 185 )))|((( 186 186 Inherits from 187 187 //ComponentList// 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.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. 191 191 |DimensionDescriptor|((( 192 192 Inherits from 193 193 //ComponentList// 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.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. 196 196 |AttributeDescriptor|((( 197 197 Inherits from 198 198 //ComponentList// 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.194 +)))|A set metadata concepts that define the attributes of a Data Structure Definition. 195 +| |/components|An association to a Data Attribute component. 201 201 |MeasureDescriptor|((( 202 202 Inherits from 203 203 204 204 //ComponentList// 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.200 +)))|A metadata concept that defines the measure of a Data Structure Definition. 201 +| |/components|An association to a measure component. 207 207 |Dimension|((( 208 208 Inherits from 209 209 Component 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.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. 213 213 |MeasureDimension|((( 214 214 Inherits from 215 215 216 216 Dimension 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.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. 218 218 |DataAttribute|((( 219 219 Inherits from 220 220 Component ... ... @@ -221,25 +221,25 @@ 221 221 Sub class 222 222 ReportingYear 223 223 StartDay 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.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. 229 229 |TimeDimension|((( 230 230 Inherits from 231 231 232 232 Dimension 233 -)))| (% 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”. 234 234 |ReportingYearStartDay|((( 235 235 Inherits from 236 236 DataAttribute 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.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. 238 238 |PrimaryMeasure|((( 239 239 Inherits from 240 240 //Component// 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.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. 243 243 |//AttributeRelationship//|((( 244 244 Abstract Class 245 245 Sub classes ... ... @@ -250,14 +250,14 @@ 250 250 GroupRelationship 251 251 Dimension 252 252 Relationship 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 Descriptor258 -|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.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. 261 261 262 262 The explanation of the classes, attributes, and associations comprising the Representation is described in the section on the SDMX Base. 263 263 ... ... @@ -269,11 +269,9 @@ 269 269 270 270 === {{id name="_Toc371018"/}}5.4.2 Class Diagram === 271 271 272 -(% class="wikigeneratedid" id="H" %) 273 -[[image:1747897072125-219.png]] 267 +====== ====== 274 274 275 -(% class="wikigeneratedid" id="HFigure26ClassDiagramoftheDataSet" %) 276 -**Figure 26 Class Diagram of the Data Set** 269 +====== **Figure 26 Class Diagram of the Data Set** ====== 277 277 278 278 === {{id name="_Toc371019"/}}5.4.3 Explanation of the Diagram === 279 279 ... ... @@ -449,4 +449,4 @@ 449 449 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. 450 450 ))) 451 451 452 - 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
- 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