@sis-cc/dotstatsuite-components 14.4.0 → 15.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/lib/app.js +2 -6
  2. package/lib/index.js +9 -18
  3. package/lib/rules/src/date.js +7 -3
  4. package/lib/rules/src/index.js +142 -1
  5. package/lib/rules/src/properties/index.js +2 -5
  6. package/lib/rules/src/table/preparators/prepareData.js +4 -15
  7. package/lib/rules/src/v8-transformer.js +1 -1
  8. package/lib/rules2/src/duplicateObservations.js +26 -38
  9. package/lib/rules2/src/index.js +63 -0
  10. package/package.json +1 -1
  11. package/src/app.js +0 -2
  12. package/src/index.js +0 -1
  13. package/src/rules/src/date.js +4 -2
  14. package/src/rules/src/index.js +19 -0
  15. package/src/rules/src/properties/index.js +1 -4
  16. package/src/rules/src/table/preparators/prepareData.js +2 -10
  17. package/src/rules/src/v8-transformer.js +2 -2
  18. package/src/rules2/src/duplicateObservations.js +29 -39
  19. package/src/rules2/src/index.js +11 -0
  20. package/test/duplicateObs.test.js +83 -0
  21. package/test/mocks/table-prep-simple-duplicate--dimensions2.json +858 -0
  22. package/test/mocks/table-prep-simple-duplicate--duplicated2.json +77502 -0
  23. package/test/mocks/table-prep-simple-duplicate--observations2.json +60002 -0
  24. package/test/table-prep-duplicate-perf.test.js +8 -14
  25. package/lib/rules-driver/src/app.js +0 -152
  26. package/lib/rules-driver/src/index.js +0 -97
  27. package/src/rules-driver/README.md +0 -131
  28. package/src/rules-driver/src/app.js +0 -123
  29. package/src/rules-driver/src/index.js +0 -60
  30. package/src/rules-driver/src/mocks/data1.json +0 -332
  31. package/src/rules-driver/src/mocks/data2.json +0 -309
  32. package/test/duplicateObservations.test.js +0 -108
  33. package/test/mocks/table-prep-multi-duplicate--duplicated.json +0 -26938
  34. package/test/mocks/table-prep-multi-duplicate--indexes.json +0 -1417
  35. package/test/mocks/table-prep-multi-duplicate--observations.json +0 -20330
  36. package/test/mocks/table-prep-simple-duplicate--duplicated.json +0 -77502
  37. package/test/mocks/table-prep-simple-duplicate--indexes.json +0 -274
  38. package/test/mocks/table-prep-simple-duplicate--observations.json +0 -60002
@@ -0,0 +1,858 @@
1
+ {
2
+ "SUBJECT": {
3
+ "id": "SUBJECT",
4
+ "name": "Subject",
5
+ "names": {
6
+ "en": "Subject"
7
+ },
8
+ "keyPosition": 0,
9
+ "roles": [
10
+ "SUBJECT"
11
+ ],
12
+ "values": [
13
+ {
14
+ "id": "XTEXVA01",
15
+ "name": "Exports in goods, s.a.",
16
+ "__indexPosition": 0,
17
+ "__index": 0,
18
+ "notes": [],
19
+ "attributes": {},
20
+ "parents": []
21
+ },
22
+ {
23
+ "id": "IRSTCI01",
24
+ "name": "Overnight interbank rate",
25
+ "__indexPosition": 1,
26
+ "__index": 26,
27
+ "notes": [],
28
+ "attributes": {},
29
+ "parents": []
30
+ },
31
+ {
32
+ "id": "SPASTT01",
33
+ "name": "Share prices",
34
+ "__indexPosition": 2,
35
+ "__index": 18,
36
+ "notes": [],
37
+ "attributes": {},
38
+ "parents": []
39
+ },
40
+ {
41
+ "id": "LCEAMN01",
42
+ "name": "Hourly earnings: manufacturing, s.a.",
43
+ "__indexPosition": 3,
44
+ "__index": 1,
45
+ "notes": [],
46
+ "attributes": {},
47
+ "parents": []
48
+ },
49
+ {
50
+ "id": "CPALTT01",
51
+ "name": "Consumer prices: all items",
52
+ "__indexPosition": 4,
53
+ "__index": 5,
54
+ "notes": [],
55
+ "attributes": {},
56
+ "parents": []
57
+ },
58
+ {
59
+ "id": "PRINTO01",
60
+ "name": "Industrial production, s.a.",
61
+ "__indexPosition": 5,
62
+ "__index": 7,
63
+ "notes": [],
64
+ "attributes": {},
65
+ "parents": []
66
+ },
67
+ {
68
+ "id": "ODCNPI03",
69
+ "name": "Permits issued for dwellings, s.a.",
70
+ "__indexPosition": 6,
71
+ "__index": 15,
72
+ "notes": [],
73
+ "attributes": {},
74
+ "parents": []
75
+ },
76
+ {
77
+ "id": "SLRTTO01",
78
+ "name": "Retail trade (Volume), s.a.",
79
+ "__indexPosition": 7,
80
+ "__index": 14,
81
+ "notes": [],
82
+ "attributes": {},
83
+ "parents": []
84
+ },
85
+ {
86
+ "id": "PIEAMP01",
87
+ "name": "Producer prices - Manufacturing",
88
+ "__indexPosition": 8,
89
+ "__index": 12,
90
+ "notes": [],
91
+ "attributes": {},
92
+ "parents": []
93
+ },
94
+ {
95
+ "id": "NAEXKP01",
96
+ "name": "Gross domestic product; constant prices, s.a.",
97
+ "__indexPosition": 9,
98
+ "__index": 4,
99
+ "notes": [],
100
+ "attributes": {},
101
+ "parents": []
102
+ },
103
+ {
104
+ "id": "LRHUTTTT",
105
+ "name": "Harmonised unemployment rate: all persons, s.a.",
106
+ "__indexPosition": 10,
107
+ "__index": 17,
108
+ "notes": [],
109
+ "attributes": {},
110
+ "parents": []
111
+ },
112
+ {
113
+ "id": "LFEMTTTT",
114
+ "name": "Total employment: all persons, s.a.",
115
+ "__indexPosition": 11,
116
+ "__index": 3,
117
+ "notes": [],
118
+ "attributes": {},
119
+ "parents": []
120
+ },
121
+ {
122
+ "id": "CSCICP02",
123
+ "name": "Consumer confidence indicator, s.a.",
124
+ "__indexPosition": 12,
125
+ "__index": 28,
126
+ "notes": [],
127
+ "attributes": {},
128
+ "parents": []
129
+ },
130
+ {
131
+ "id": "MANMM101",
132
+ "name": "Narrow money, s.a.",
133
+ "__indexPosition": 13,
134
+ "__index": 24,
135
+ "notes": [],
136
+ "attributes": {},
137
+ "parents": []
138
+ },
139
+ {
140
+ "id": "ULQEUL01",
141
+ "name": "Unit labour cost: Total Economy, s.a.",
142
+ "__indexPosition": 14,
143
+ "__index": 10,
144
+ "notes": [],
145
+ "attributes": {},
146
+ "parents": []
147
+ },
148
+ {
149
+ "id": "B6BLTT02",
150
+ "name": "Current account as a % of GDP, s.a.",
151
+ "__indexPosition": 15,
152
+ "__index": 11,
153
+ "notes": [],
154
+ "attributes": {},
155
+ "parents": []
156
+ },
157
+ {
158
+ "id": "XTIMVA01",
159
+ "name": "Imports in goods, s.a.",
160
+ "__indexPosition": 16,
161
+ "__index": 8,
162
+ "notes": [],
163
+ "attributes": {},
164
+ "parents": []
165
+ },
166
+ {
167
+ "id": "SLRTCR03",
168
+ "name": "Passenger car registrations, s.a.",
169
+ "__indexPosition": 17,
170
+ "__index": 9,
171
+ "notes": [],
172
+ "attributes": {},
173
+ "parents": []
174
+ },
175
+ {
176
+ "id": "NAEXKP02",
177
+ "name": "GDP Private final consumption expenditure; constant prices, s.a.",
178
+ "__indexPosition": 18,
179
+ "__index": 25,
180
+ "notes": [],
181
+ "attributes": {},
182
+ "parents": []
183
+ },
184
+ {
185
+ "id": "IR3TIB01",
186
+ "name": "3 month interbank rate",
187
+ "__indexPosition": 19,
188
+ "__index": 16,
189
+ "notes": [],
190
+ "attributes": {},
191
+ "parents": []
192
+ },
193
+ {
194
+ "id": "MABMM301",
195
+ "name": "Broad money, s.a.",
196
+ "__indexPosition": 20,
197
+ "__index": 19,
198
+ "notes": [],
199
+ "attributes": {},
200
+ "parents": []
201
+ },
202
+ {
203
+ "id": "PRMNTO01",
204
+ "name": "Total manufacturing, s.a.",
205
+ "__indexPosition": 21,
206
+ "__index": 20,
207
+ "notes": [],
208
+ "attributes": {},
209
+ "parents": []
210
+ },
211
+ {
212
+ "id": "IRLTLT01",
213
+ "name": "Long-term interest rate",
214
+ "__indexPosition": 22,
215
+ "__index": 22,
216
+ "notes": [],
217
+ "attributes": {},
218
+ "parents": []
219
+ },
220
+ {
221
+ "id": "NAEXKP03",
222
+ "name": "GDP Government consumption expenditure; constant prices, s.a.",
223
+ "__indexPosition": 23,
224
+ "__index": 6,
225
+ "notes": [],
226
+ "attributes": {},
227
+ "parents": []
228
+ },
229
+ {
230
+ "id": "PRCNTO01",
231
+ "name": "Construction, s.a.",
232
+ "__indexPosition": 24,
233
+ "__index": 23,
234
+ "notes": [],
235
+ "attributes": {},
236
+ "parents": []
237
+ },
238
+ {
239
+ "id": "NAEXKP04",
240
+ "name": "GDP Gross fixed capital formation; constant prices, s.a.",
241
+ "__indexPosition": 25,
242
+ "__index": 2,
243
+ "notes": [],
244
+ "attributes": {},
245
+ "parents": []
246
+ },
247
+ {
248
+ "id": "CCUSMA02",
249
+ "name": "Exchange rates, monthly averages, National currency per US dollar",
250
+ "__indexPosition": 26,
251
+ "__index": 27,
252
+ "notes": [],
253
+ "attributes": {},
254
+ "parents": []
255
+ },
256
+ {
257
+ "id": "NAEXKP06",
258
+ "name": "GDP Exports; constant prices, s.a.",
259
+ "__indexPosition": 27,
260
+ "__index": 21,
261
+ "notes": [],
262
+ "attributes": {},
263
+ "parents": []
264
+ },
265
+ {
266
+ "id": "NAEXKP07",
267
+ "name": "GDP Imports of goods and services; constant prices, s.a.",
268
+ "__indexPosition": 28,
269
+ "__index": 13,
270
+ "notes": [],
271
+ "attributes": {},
272
+ "parents": []
273
+ }
274
+ ],
275
+ "display": true,
276
+ "__index": 0,
277
+ "role": "SUBJECT"
278
+ },
279
+ "LOCATION": {
280
+ "id": "LOCATION",
281
+ "name": "Country",
282
+ "names": {
283
+ "en": "Country"
284
+ },
285
+ "keyPosition": 1,
286
+ "roles": [
287
+ "LOCATION"
288
+ ],
289
+ "values": [
290
+ {
291
+ "id": "AUS",
292
+ "name": "Australia",
293
+ "__indexPosition": 0,
294
+ "__index": 0,
295
+ "notes": [],
296
+ "attributes": {},
297
+ "parents": []
298
+ },
299
+ {
300
+ "id": "AUT",
301
+ "name": "Austria",
302
+ "__indexPosition": 1,
303
+ "__index": 1,
304
+ "notes": [],
305
+ "attributes": {},
306
+ "parents": []
307
+ },
308
+ {
309
+ "id": "BEL",
310
+ "name": "Belgium",
311
+ "__indexPosition": 2,
312
+ "__index": 6,
313
+ "notes": [],
314
+ "attributes": {},
315
+ "parents": []
316
+ },
317
+ {
318
+ "id": "CAN",
319
+ "name": "Canada",
320
+ "__indexPosition": 3,
321
+ "__index": 22,
322
+ "notes": [],
323
+ "attributes": {},
324
+ "parents": []
325
+ },
326
+ {
327
+ "id": "CHL",
328
+ "name": "Chile",
329
+ "__indexPosition": 4,
330
+ "__index": 12,
331
+ "notes": [],
332
+ "attributes": {},
333
+ "parents": []
334
+ },
335
+ {
336
+ "id": "COL",
337
+ "name": "Colombia",
338
+ "__indexPosition": 5,
339
+ "__index": 29,
340
+ "notes": [],
341
+ "attributes": {},
342
+ "parents": []
343
+ },
344
+ {
345
+ "id": "CZE",
346
+ "name": "Czech Republic",
347
+ "__indexPosition": 6,
348
+ "__index": 8,
349
+ "notes": [],
350
+ "attributes": {},
351
+ "parents": []
352
+ },
353
+ {
354
+ "id": "DNK",
355
+ "name": "Denmark",
356
+ "__indexPosition": 7,
357
+ "__index": 24,
358
+ "notes": [],
359
+ "attributes": {},
360
+ "parents": []
361
+ },
362
+ {
363
+ "id": "EST",
364
+ "name": "Estonia",
365
+ "__indexPosition": 8,
366
+ "__index": 30,
367
+ "notes": [],
368
+ "attributes": {},
369
+ "parents": []
370
+ },
371
+ {
372
+ "id": "FIN",
373
+ "name": "Finland",
374
+ "__indexPosition": 9,
375
+ "__index": 38,
376
+ "notes": [],
377
+ "attributes": {},
378
+ "parents": []
379
+ },
380
+ {
381
+ "id": "FRA",
382
+ "name": "France",
383
+ "__indexPosition": 10,
384
+ "__index": 39,
385
+ "notes": [],
386
+ "attributes": {},
387
+ "parents": []
388
+ },
389
+ {
390
+ "id": "DEU",
391
+ "name": "Germany",
392
+ "__indexPosition": 11,
393
+ "__index": 7,
394
+ "notes": [],
395
+ "attributes": {},
396
+ "parents": []
397
+ },
398
+ {
399
+ "id": "GRC",
400
+ "name": "Greece",
401
+ "__indexPosition": 12,
402
+ "__index": 40,
403
+ "notes": [],
404
+ "attributes": {},
405
+ "parents": []
406
+ },
407
+ {
408
+ "id": "HUN",
409
+ "name": "Hungary",
410
+ "__indexPosition": 13,
411
+ "__index": 2,
412
+ "notes": [],
413
+ "attributes": {},
414
+ "parents": []
415
+ },
416
+ {
417
+ "id": "ISL",
418
+ "name": "Iceland",
419
+ "__indexPosition": 14,
420
+ "__index": 18,
421
+ "notes": [],
422
+ "attributes": {},
423
+ "parents": []
424
+ },
425
+ {
426
+ "id": "IRL",
427
+ "name": "Ireland",
428
+ "__indexPosition": 15,
429
+ "__index": 33,
430
+ "notes": [],
431
+ "attributes": {},
432
+ "parents": []
433
+ },
434
+ {
435
+ "id": "ISR",
436
+ "name": "Israel",
437
+ "__indexPosition": 16,
438
+ "__index": 21,
439
+ "notes": [],
440
+ "attributes": {},
441
+ "parents": []
442
+ },
443
+ {
444
+ "id": "ITA",
445
+ "name": "Italy",
446
+ "__indexPosition": 17,
447
+ "__index": 23,
448
+ "notes": [],
449
+ "attributes": {},
450
+ "parents": []
451
+ },
452
+ {
453
+ "id": "JPN",
454
+ "name": "Japan",
455
+ "__indexPosition": 18,
456
+ "__index": 34,
457
+ "notes": [],
458
+ "attributes": {},
459
+ "parents": []
460
+ },
461
+ {
462
+ "id": "KOR",
463
+ "name": "Korea",
464
+ "__indexPosition": 19,
465
+ "__index": 3,
466
+ "notes": [],
467
+ "attributes": {},
468
+ "parents": []
469
+ },
470
+ {
471
+ "id": "LVA",
472
+ "name": "Latvia",
473
+ "__indexPosition": 20,
474
+ "__index": 36,
475
+ "notes": [],
476
+ "attributes": {},
477
+ "parents": []
478
+ },
479
+ {
480
+ "id": "LTU",
481
+ "name": "Lithuania",
482
+ "__indexPosition": 21,
483
+ "__index": 13,
484
+ "notes": [],
485
+ "attributes": {},
486
+ "parents": []
487
+ },
488
+ {
489
+ "id": "LUX",
490
+ "name": "Luxembourg",
491
+ "__indexPosition": 22,
492
+ "__index": 42,
493
+ "notes": [],
494
+ "attributes": {},
495
+ "parents": []
496
+ },
497
+ {
498
+ "id": "MEX",
499
+ "name": "Mexico",
500
+ "__indexPosition": 23,
501
+ "__index": 41,
502
+ "notes": [],
503
+ "attributes": {},
504
+ "parents": []
505
+ },
506
+ {
507
+ "id": "NLD",
508
+ "name": "Netherlands",
509
+ "__indexPosition": 24,
510
+ "__index": 9,
511
+ "notes": [],
512
+ "attributes": {},
513
+ "parents": []
514
+ },
515
+ {
516
+ "id": "NZL",
517
+ "name": "New Zealand",
518
+ "__indexPosition": 25,
519
+ "__index": 28,
520
+ "notes": [],
521
+ "attributes": {},
522
+ "parents": []
523
+ },
524
+ {
525
+ "id": "NOR",
526
+ "name": "Norway",
527
+ "__indexPosition": 26,
528
+ "__index": 19,
529
+ "notes": [],
530
+ "attributes": {},
531
+ "parents": []
532
+ },
533
+ {
534
+ "id": "POL",
535
+ "name": "Poland",
536
+ "__indexPosition": 27,
537
+ "__index": 4,
538
+ "notes": [],
539
+ "attributes": {},
540
+ "parents": []
541
+ },
542
+ {
543
+ "id": "PRT",
544
+ "name": "Portugal",
545
+ "__indexPosition": 28,
546
+ "__index": 20,
547
+ "notes": [],
548
+ "attributes": {},
549
+ "parents": []
550
+ },
551
+ {
552
+ "id": "SVK",
553
+ "name": "Slovak Republic",
554
+ "__indexPosition": 29,
555
+ "__index": 35,
556
+ "notes": [],
557
+ "attributes": {},
558
+ "parents": []
559
+ },
560
+ {
561
+ "id": "SVN",
562
+ "name": "Slovenia",
563
+ "__indexPosition": 30,
564
+ "__index": 45,
565
+ "notes": [],
566
+ "attributes": {},
567
+ "parents": []
568
+ },
569
+ {
570
+ "id": "ESP",
571
+ "name": "Spain",
572
+ "__indexPosition": 31,
573
+ "__index": 5,
574
+ "notes": [],
575
+ "attributes": {},
576
+ "parents": []
577
+ },
578
+ {
579
+ "id": "SWE",
580
+ "name": "Sweden",
581
+ "__indexPosition": 32,
582
+ "__index": 26,
583
+ "notes": [],
584
+ "attributes": {},
585
+ "parents": []
586
+ },
587
+ {
588
+ "id": "CHE",
589
+ "name": "Switzerland",
590
+ "__indexPosition": 33,
591
+ "__index": 14,
592
+ "notes": [],
593
+ "attributes": {},
594
+ "parents": []
595
+ },
596
+ {
597
+ "id": "TUR",
598
+ "name": "Turkey",
599
+ "__indexPosition": 34,
600
+ "__index": 49,
601
+ "notes": [],
602
+ "attributes": {},
603
+ "parents": []
604
+ },
605
+ {
606
+ "id": "GBR",
607
+ "name": "United Kingdom",
608
+ "__indexPosition": 35,
609
+ "__index": 27,
610
+ "notes": [],
611
+ "attributes": {},
612
+ "parents": []
613
+ },
614
+ {
615
+ "id": "USA",
616
+ "name": "United States",
617
+ "__indexPosition": 36,
618
+ "__index": 15,
619
+ "notes": [],
620
+ "attributes": {},
621
+ "parents": []
622
+ },
623
+ {
624
+ "id": "EA19",
625
+ "name": "Euro area (19 countries)",
626
+ "__indexPosition": 37,
627
+ "__index": 11,
628
+ "notes": [],
629
+ "attributes": {},
630
+ "parents": []
631
+ },
632
+ {
633
+ "id": "EU28",
634
+ "name": "European Union (28 countries)",
635
+ "__indexPosition": 38,
636
+ "__index": 48,
637
+ "notes": [],
638
+ "attributes": {},
639
+ "parents": []
640
+ },
641
+ {
642
+ "id": "EU27_2020",
643
+ "name": "European Union – 27 countries (from 01/02/2020)",
644
+ "__indexPosition": 39,
645
+ "__index": 44,
646
+ "notes": [],
647
+ "attributes": {},
648
+ "parents": []
649
+ },
650
+ {
651
+ "id": "G-7",
652
+ "name": "G7",
653
+ "__indexPosition": 40,
654
+ "__index": 10,
655
+ "notes": [],
656
+ "attributes": {},
657
+ "parents": []
658
+ },
659
+ {
660
+ "id": "OECDE",
661
+ "name": "OECD - Europe",
662
+ "__indexPosition": 41,
663
+ "__index": 43,
664
+ "notes": [],
665
+ "attributes": {},
666
+ "parents": []
667
+ },
668
+ {
669
+ "id": "OECD",
670
+ "name": "OECD - Total",
671
+ "__indexPosition": 42,
672
+ "__index": 25,
673
+ "notes": [],
674
+ "attributes": {},
675
+ "parents": []
676
+ },
677
+ {
678
+ "id": "BRA",
679
+ "name": "Brazil",
680
+ "__indexPosition": 43,
681
+ "__index": 50,
682
+ "notes": [],
683
+ "attributes": {},
684
+ "parents": []
685
+ },
686
+ {
687
+ "id": "CHN",
688
+ "name": "China (People's Republic of)",
689
+ "__indexPosition": 44,
690
+ "__index": 46,
691
+ "notes": [],
692
+ "attributes": {},
693
+ "parents": []
694
+ },
695
+ {
696
+ "id": "CRI",
697
+ "name": "Costa Rica",
698
+ "__indexPosition": 45,
699
+ "__index": 37,
700
+ "notes": [],
701
+ "attributes": {},
702
+ "parents": []
703
+ },
704
+ {
705
+ "id": "IND",
706
+ "name": "India",
707
+ "__indexPosition": 46,
708
+ "__index": 31,
709
+ "notes": [],
710
+ "attributes": {},
711
+ "parents": []
712
+ },
713
+ {
714
+ "id": "IDN",
715
+ "name": "Indonesia",
716
+ "__indexPosition": 47,
717
+ "__index": 47,
718
+ "notes": [],
719
+ "attributes": {},
720
+ "parents": []
721
+ },
722
+ {
723
+ "id": "RUS",
724
+ "name": "Russia",
725
+ "__indexPosition": 48,
726
+ "__index": 16,
727
+ "notes": [],
728
+ "attributes": {},
729
+ "parents": []
730
+ },
731
+ {
732
+ "id": "SAU",
733
+ "name": "Saudi Arabia",
734
+ "__indexPosition": 49,
735
+ "__index": 32,
736
+ "notes": [],
737
+ "attributes": {},
738
+ "parents": []
739
+ },
740
+ {
741
+ "id": "ZAF",
742
+ "name": "South Africa",
743
+ "__indexPosition": 50,
744
+ "__index": 17,
745
+ "notes": [],
746
+ "attributes": {},
747
+ "parents": []
748
+ }
749
+ ],
750
+ "display": true,
751
+ "__index": 1,
752
+ "role": "LOCATION"
753
+ },
754
+ "MEASURE": {
755
+ "id": "MEASURE",
756
+ "name": "Measure",
757
+ "names": {
758
+ "en": "Measure"
759
+ },
760
+ "keyPosition": 2,
761
+ "roles": [
762
+ "MEASURE"
763
+ ],
764
+ "values": [
765
+ {
766
+ "id": "GP",
767
+ "name": "Growth previous period",
768
+ "__indexPosition": 0,
769
+ "__index": 0,
770
+ "notes": [],
771
+ "attributes": {},
772
+ "parents": []
773
+ },
774
+ {
775
+ "id": "GY",
776
+ "name": "Growth on the same period of the previous year",
777
+ "__indexPosition": 1,
778
+ "__index": 1,
779
+ "notes": [],
780
+ "attributes": {},
781
+ "parents": []
782
+ },
783
+ {
784
+ "id": "ST",
785
+ "name": "Level, ratio or index",
786
+ "__indexPosition": 2,
787
+ "__index": 2,
788
+ "notes": [],
789
+ "attributes": {},
790
+ "parents": []
791
+ }
792
+ ],
793
+ "display": true,
794
+ "__index": 2,
795
+ "role": "MEASURE"
796
+ },
797
+ "TIME_PERIOD": {
798
+ "id": "TIME_PERIOD",
799
+ "name": "Time",
800
+ "names": {
801
+ "en": "Time"
802
+ },
803
+ "keyPosition": 4,
804
+ "roles": [
805
+ "TIME"
806
+ ],
807
+ "values": [
808
+ {
809
+ "id": "2015",
810
+ "name": "2015",
811
+ "__indexPosition": 0,
812
+ "__index": 0,
813
+ "notes": [],
814
+ "attributes": {},
815
+ "parents": []
816
+ },
817
+ {
818
+ "id": "2016",
819
+ "name": "2016",
820
+ "__indexPosition": 1,
821
+ "__index": 1,
822
+ "notes": [],
823
+ "attributes": {},
824
+ "parents": []
825
+ },
826
+ {
827
+ "id": "2017",
828
+ "name": "2017",
829
+ "__indexPosition": 2,
830
+ "__index": 2,
831
+ "notes": [],
832
+ "attributes": {},
833
+ "parents": []
834
+ },
835
+ {
836
+ "id": "2018",
837
+ "name": "2018",
838
+ "__indexPosition": 3,
839
+ "__index": 3,
840
+ "notes": [],
841
+ "attributes": {},
842
+ "parents": []
843
+ },
844
+ {
845
+ "id": "2019",
846
+ "name": "2019",
847
+ "__indexPosition": 4,
848
+ "__index": 4,
849
+ "notes": [],
850
+ "attributes": {},
851
+ "parents": []
852
+ }
853
+ ],
854
+ "display": true,
855
+ "__index": 4,
856
+ "role": "TIME_PERIOD"
857
+ }
858
+ }