Hide dimensions fixed to values _T and _Z from the visualisation page
As Anastassia,
I want that when a dataflow has a dimension fixed to a specifically defined set of values (e.g., _T
and _Z
) then on the viz page they are completely hidden in the filters, table header and table content.
So that the user is not unnecessarily confused about the underlying statistical distinction between those values (e.g., "Not applicable" and "Total"), when this distinction is not essential in the display.
Functional specifications
- The behaviour is applied only if specifically requested by the data owner through the presence of the value list as
(ID1,ID2,...)
in the content of theNOT_DISPLAYED
annotation at dataflow or DSD level:"annotations": [{ "title": "DIM1=(ID1+ID2)+ID3,DIM2=..." <-- Forced hiding of a fixed set of values, here ID1 and ID2, when they are the only ones available/allowed in the dimension, is expressed by listing the plus-separated values inside brackets "type": "NOT_DISPLAYED", }]
- Whenever a dataflow dimension has only the values listed as described in the previous point, then they should be considered being the same and be completely hidden just like if the dimension was single-fixed.
- The dimension filter, which would thus then have only the listed set of values is automatically hidden. The data query will contain either the value selected by DEFAULT, if set, otherwise the set of values.
- In case only one of the values is returned in the data message, then this value is to be hidden in the view sub-header.
- For the data table/chart, whenever a dimension only has only the listed set of values, then the corresponding dimension is to be hidden in the view. (Technically this could be done by converting behind the scenes all those values to one of them, which moves this dimension into the table sub-header, where it would be hidden.) Note that potentially there could originally be different observations that only differ in their value of that dimension. In this case, all related rows are displayed like "doubled":
Example
- staging: https://de-demo-oecd.siscc.org/vis?lc=en&df%5Bds%5D=OECD-staging&df%5Bid%5D=DSD_QNA%40DF_QNA&df%5Bag%5D=OECD.SDD.NAD&df%5Bvs%5D=1.0&av=true&pd=2019-Q3%2C2022-Q2&dq=Q.FRA............&ly%5Brs%5D=ACTIVITY%2CADJUSTMENT&ly%5Brw%5D=MEASURE%2CUNIT_MEASURE&ly%5Bcl%5D=TIME_PERIOD&vw=tb&lb=bt
- qa (staging data): https://de-qa.siscc.org/vis?lc=en&df%5Bds%5D=OECD-staging&df%5Bid%5D=DSD_QNA%40DF_QNA&df%5Bag%5D=OECD.SDD.NAD&df%5Bvs%5D=1.0&av=true&pd=2019-Q3%2C2022-Q2&dq=Q.FRA............&ly%5Brs%5D=ACTIVITY%2CADJUSTMENT&ly%5Brw%5D=MEASURE%2CUNIT_MEASURE&ly%5Bcl%5D=TIME_PERIOD&vw=tb&lb=bt
Edited by Amal Lahmar