-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDMX / VTL - Type / Value domain #402
Comments
Hi Nicolas, |
Hi Nico, Very interesting (and hot) question... In my view (but it is just a view...) all enumerated types should be strings, even if the codes can be represented as integers. The reason is that is that you will never operate with those codes, and in the VTL world types matter for what operations you want to do with them. Regarding the value domain, well, it certainly depends... and mainly on the practice of the SDMX modeller (which I find often not to be the best...) It is quite likely that CL_TEST contains a lot of values that are not used in the dataset, and modellers may have chosen to use region constraints to limit those values. If so, I think those constraints would provide the relevant value domain. And for your third point, if I understand your question correctly, I agree with you, and that was my main point in the meeting in Paris (and in the word document we shared after that regarding the data model). We should define why we have value domains and other objects in VTL (and compatibility with GSIM is not a good reason, for me, because dropping things does not make VTL incompatible, it is already a subset of GSIM... So, we can drop artifacts while keeping compatibility). In my view:
|
Actually there are quite a lot of integer enumerated sets examples, most of them coming from the statistical domain where you have surveys with numbered responses with the addition of special values (i.e. -99: invalid, -101: no response, and so on). Creating and manipulating hierarchies is also a use case for codes, for example you can have an automatic hierarchy ruleset import system from the dsd (I used this while working with Pacific Community Hub). |
Hi all,
I need your advice regarding the SDMX --> VTL
Considering the below SDMX DSD fragment (included in a Component):
The
CL_TEST
code list is composed of strings (but this string type is not defined anywhere).My questions are:
CL_TEST
?Thanks in advance
The text was updated successfully, but these errors were encountered: