Changes for page 12 Validation and Transformation Language (VTL)
Last modified by Helena on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -412,14 +412,16 @@ 412 412 413 413 [[image:1747388275998-621.png]] 414 414 415 -In fact the [[VTL>>doc:xwiki:Glossary.Validationand transformation language.WebHome]] operator “sub” has exactly the same behaviour. Therefore,(% style="color:#2ecc71" %)mapping(%%)different parts of a[[SDMX>>doc:xwiki:Glossary.Statisticaldata and metadata exchange.WebHome]] [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]]to different[[VTL>>doc:xwiki:Glossary.Validationand transformation language.WebHome]] [[Data Sets>>doc:xwiki:Glossary.Dataset.WebHome]]in the direction from[[SDMX>>doc:xwiki:Glossary.Statisticaldata and metadata exchange.WebHome]]to [[VTL>>doc:xwiki:Glossary.Validationandtransformation language.WebHome]] through the ordered concatenation notation is equivalent to a proper use of the operator “**sub**” on such a[[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]].{{footnote}}In case the ordered concatenation notation is used, the VTL Transformation described above, e.g. ‘DF1(1.0)/POPULATION.USA’ := DF1(1.0) [ sub INDICATOR=“POPULATION”, COUNTRY=“USA”], is implicitly executed. In order to test the overall compliance of the VTL program to the VTL consistency rules, it has to be considered as part of the VTL program even if it is not explicitly coded.{{/footnote}}415 +In fact the VTL operator “sub” has exactly the same behaviour. Therefore, mapping different parts of a SDMX Dataflow to different VTL Data Sets in the direction from SDMX to VTL through the ordered concatenation notation is equivalent to a proper use of the operator “**sub**” on such a Dataflow.{{footnote}}In case the ordered concatenation notation is used, the VTL Transformation described above, e.g. ‘DF1(1.0)/POPULATION.USA’ := DF1(1.0) [ sub INDICATOR=“POPULATION”, COUNTRY=“USA”], is implicitly executed. In order to test the overall compliance of the VTL program to the VTL consistency rules, it has to be considered as part of the VTL program even if it is not explicitly coded.{{/footnote}} 416 416 417 -In the direction from [[SDMX>>doc:xwiki:Glossary.Statisticaldata and metadata exchange.WebHome]]to [[VTL>>doc:xwiki:Glossary.Validationand transformation language.WebHome]] it is allowed to omit the value of one or moreDimensionComponents on which the (% style="color:#2ecc71" %)mapping(%%) is based, but maintaining all the separating dots (therefore it may happen to find two or more consecutive dots and dots in the beginning or in the end). The absence of value means that for the corresponding [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] all the values are kept and the [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] is not dropped.417 +In the direction from SDMX to VTL it is allowed to omit the value of one or more 418 418 419 - Forexample, ‘DF(1.0.0)/POPULATION.’ (notethe dotintheendofthe name)isthe[[VTL>>doc:xwiki:Glossary.Validationand transformationlanguage.WebHome]][[dataset>>doc:xwiki:Glossary.Dataset.WebHome]]thatcontainsalltheobservationsofthe[[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]]DF(1.0.0)forwhich//INDICATOR//=POPULATIONandCOUNTRY=anyvalue.419 +DimensionComponents on which the mapping is based, but maintaining all the separating dots (therefore it may happen to find two or more consecutive dots and dots in the beginning or in the end). The absence of value means that for the corresponding Dimension all the values are kept and the Dimension is not dropped. 420 420 421 - Thisisequivalent to theapplication of the[[VTL>>doc:xwiki:Glossary.Validationandtransformationlanguage.WebHome]]“sub”operator onlyto theidentifier //INDICATOR//:421 +For example, ‘DF(1.0.0)/POPULATION.’ (note the dot in the end of the name) is the VTL dataset that contains all the observations of the Dataflow DF(1.0.0) for which //INDICATOR// = POPULATION and COUNTRY = any value. 422 422 423 +This is equivalent to the application of the VTL “sub” operator only to the identifier //INDICATOR//: 424 + 423 423 [[image:1747388244829-693.png]] 424 424 425 425 Therefore the VTL Data Set ‘DF1(1.0.0)/POPULATION.’ would have the identifiers COUNTRY and TIME_PERIOD.