linked-sdmx icon indicating copy to clipboard operation
linked-sdmx copied to clipboard

Consider omitting attribute components

Open csarven opened this issue 12 years ago • 1 comments

Consider omitting attribute components that have quality issues in the data. For example, an attribute value in the data might use a text description of a code instead of a its identifier:

whereas it should be like:

Or there is simply a mismatch between the data and metadata.

These issues are better fixed at the source (and I'm reporting them), however, for the time being it might be better to provide a way to omit them in the results. Obviously precision will be lost but probably better than leaving inaccurate information.

Possible approaches (ordered from easiest to difficult):

  • Offer a config option to omit attributes with a certain @conceptRef
  • Leave everything as is in KeyFamily, but omit the values that have whitespaces (note: is this safe in general for attributes?) in GenericData
  • Omit the component in KeyFamily and the value in GenericData.

Kids, don't manipulate other people's data without parental guidance.

csarven avatar Feb 02 '13 20:02 csarven

Commit ef300d39088313c4764d1d8c1c2d1261ab6d6d5a offers a config to omit certain attributes. Leaving this issue open for feedback.

csarven avatar Feb 02 '13 22:02 csarven