jsonstat-validator 0.1.0__py3-none-any.whl

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 (51) hide show
  1. jsonstat_validator/__init__.py +34 -0
  2. jsonstat_validator/tests/__init__.py +1 -0
  3. jsonstat_validator/tests/conftest.py +10 -0
  4. jsonstat_validator/tests/custom_tests.py +411 -0
  5. jsonstat_validator/tests/samples/areas/canada.json +16 -0
  6. jsonstat_validator/tests/samples/areas/galicia.json +16 -0
  7. jsonstat_validator/tests/samples/areas/index.json +31 -0
  8. jsonstat_validator/tests/samples/areas/oecd.json +16 -0
  9. jsonstat_validator/tests/samples/areas/us.json +26 -0
  10. jsonstat_validator/tests/samples/canada.json +131 -0
  11. jsonstat_validator/tests/samples/datasets/index.json +51 -0
  12. jsonstat_validator/tests/samples/galicia.json +124 -0
  13. jsonstat_validator/tests/samples/hierarchy.json +200 -0
  14. jsonstat_validator/tests/samples/index.json +36 -0
  15. jsonstat_validator/tests/samples/metrics/gdp/gsp.json +16 -0
  16. jsonstat_validator/tests/samples/metrics/gdp/gsppc.json +16 -0
  17. jsonstat_validator/tests/samples/metrics/gdp/gspw.json +16 -0
  18. jsonstat_validator/tests/samples/metrics/gdp/index.json +26 -0
  19. jsonstat_validator/tests/samples/metrics/index.json +26 -0
  20. jsonstat_validator/tests/samples/metrics/lfs/employed.json +16 -0
  21. jsonstat_validator/tests/samples/metrics/lfs/index.json +31 -0
  22. jsonstat_validator/tests/samples/metrics/lfs/lf.json +16 -0
  23. jsonstat_validator/tests/samples/metrics/lfs/unemployed.json +16 -0
  24. jsonstat_validator/tests/samples/metrics/lfs/unr.json +21 -0
  25. jsonstat_validator/tests/samples/metrics/pop/index.json +21 -0
  26. jsonstat_validator/tests/samples/metrics/pop/pop.json +26 -0
  27. jsonstat_validator/tests/samples/metrics/pop/popw.json +16 -0
  28. jsonstat_validator/tests/samples/oecd.json +170 -0
  29. jsonstat_validator/tests/samples/order.json +38 -0
  30. jsonstat_validator/tests/samples/sources/bls.json +21 -0
  31. jsonstat_validator/tests/samples/sources/ige.json +16 -0
  32. jsonstat_validator/tests/samples/sources/index.json +41 -0
  33. jsonstat_validator/tests/samples/sources/jsonstat.json +21 -0
  34. jsonstat_validator/tests/samples/sources/oecd.json +16 -0
  35. jsonstat_validator/tests/samples/sources/statcan.json +16 -0
  36. jsonstat_validator/tests/samples/sources/wikipedia.json +16 -0
  37. jsonstat_validator/tests/samples/topics/accounts.json +16 -0
  38. jsonstat_validator/tests/samples/topics/demos.json +21 -0
  39. jsonstat_validator/tests/samples/topics/index.json +31 -0
  40. jsonstat_validator/tests/samples/topics/labor.json +26 -0
  41. jsonstat_validator/tests/samples/topics/population.json +26 -0
  42. jsonstat_validator/tests/samples/us-gsp.json +230 -0
  43. jsonstat_validator/tests/samples/us-labor.json +6509 -0
  44. jsonstat_validator/tests/samples/us-unr.json +3269 -0
  45. jsonstat_validator/tests/test_official_samples.py +51 -0
  46. jsonstat_validator/validator.py +608 -0
  47. jsonstat_validator-0.1.0.dist-info/LICENSE +21 -0
  48. jsonstat_validator-0.1.0.dist-info/METADATA +196 -0
  49. jsonstat_validator-0.1.0.dist-info/RECORD +51 -0
  50. jsonstat_validator-0.1.0.dist-info/WHEEL +5 -0
  51. jsonstat_validator-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,131 @@
1
+ {
2
+ "version" : "2.0",
3
+ "class" : "dataset",
4
+ "href" : "https://json-stat.org/samples/canada.json",
5
+ "label" : "Population by sex and age group. Canada. 2012",
6
+ "source" : "Statistics Canada, CANSIM, table 051-0001",
7
+ "updated" : "2012-09-27",
8
+ "value" : [34880.5, 17309.1, 17571.3, 100.0, 100.0, 100.0, 1928.8, 988.7, 940.1, 5.5, 5.7, 5.3, 1857.1, 955.0, 902.1, 5.3, 5.5, 5.1, 1877.3, 964.7, 912.6, 5.4, 5.6, 5.2, 2163.0, 1108.2, 1054.7, 6.2, 6.4, 6.0, 2441.1, 1254.2, 1186.9, 7.0, 7.2, 6.8, 2452.3, 1246.8, 1205.5, 7.0, 7.2, 6.9, 2406.3, 1203.5, 1202.8, 6.9, 7.0, 6.8, 2307.2, 1155.2, 1152.0, 6.6, 6.7, 6.6, 2384.6, 1199.4, 1185.2, 6.8, 6.9, 6.7, 2681.3, 1350.1, 1331.2, 7.7, 7.8, 7.6, 2703.2, 1352.3, 1350.9, 7.7, 7.8, 7.7, 2428.5, 1199.0, 1229.5, 7.0, 6.9, 7.0, 2063.0, 1010.2, 1052.8, 5.9, 5.8, 6.0, 1645.1, 797.9, 847.2, 4.7, 4.6, 4.8, 1190.7, 563.8, 626.8, 3.4, 3.3, 3.6, 924.1, 418.9, 505.2, 2.6, 2.4, 2.9, 718.8, 303.6, 415.2, 2.1, 1.8, 2.4, 451.0, 164.1, 286.9, 1.3, 0.9, 1.6, 257.1, 73.2, 183.9, 0.7, 0.4, 1.0],
9
+ "status" : ["a"],
10
+ "id" : ["country", "year", "age", "concept", "sex"],
11
+ "size" : [1, 1, 20, 2, 3],
12
+ "role" :{
13
+ "time" : ["year"],
14
+ "geo" : ["country"],
15
+ "metric" : ["concept"]
16
+ },
17
+ "dimension" : {
18
+ "concept" : {
19
+ "label" : "concepts",
20
+ "category" : {
21
+ "index" : {
22
+ "POP" : 0,
23
+ "PERCENT" : 1
24
+ },
25
+ "label" : {
26
+ "POP" : "population",
27
+ "PERCENT" : "weight of age group in the population"
28
+ },
29
+ "unit" : {
30
+ "POP" : {
31
+ "label": "thousands of persons",
32
+ "decimals": 1
33
+ },
34
+ "PERCENT" : {
35
+ "symbol" : "%",
36
+ "decimals": 1
37
+ }
38
+ }
39
+ }
40
+ },
41
+
42
+ "year" : {
43
+ "label" : "year",
44
+ "category" : {
45
+ "index" : {
46
+ "2012" : 0
47
+ }
48
+ }
49
+ },
50
+
51
+ "country" : {
52
+ "label" : "country",
53
+ "category" : {
54
+ "label" : {
55
+ "CA" : "Canada"
56
+ }
57
+ }
58
+ },
59
+
60
+ "age" : {
61
+ "label" : "age group",
62
+ "category" : {
63
+ "index" : [
64
+ "T",
65
+ "4",
66
+ "9",
67
+ "14",
68
+ "19",
69
+ "24",
70
+ "29",
71
+ "34",
72
+ "39",
73
+ "44",
74
+ "49",
75
+ "54",
76
+ "59",
77
+ "64",
78
+ "69",
79
+ "74",
80
+ "79",
81
+ "84",
82
+ "89",
83
+ "older"
84
+ ],
85
+ "label" : {
86
+ "T": "total",
87
+ "4": "0 to 4",
88
+ "9": "5 to 9",
89
+ "14": "10 to 14",
90
+ "19": "15 to 19",
91
+ "24": "20 to 24",
92
+ "29": "25 to 29",
93
+ "34": "30 to 34",
94
+ "39": "35 to 39",
95
+ "44": "40 to 44",
96
+ "49": "45 to 49",
97
+ "54": "50 to 54",
98
+ "59": "55 to 59",
99
+ "64": "60 to 64",
100
+ "69": "65 to 69",
101
+ "74": "70 to 74",
102
+ "79": "75 to 79",
103
+ "84": "80 to 84",
104
+ "89": "85 to 89",
105
+ "older": "90 and older"
106
+ }
107
+ }
108
+ },
109
+
110
+ "sex" : {
111
+ "label" : "sex",
112
+
113
+ "link" : {
114
+ "alternate" : [
115
+ {
116
+ "type" : "text/html",
117
+ "href" : "http://www.statcan.gc.ca/concepts/definitions/class-sex-eng.htm"
118
+ }
119
+ ]
120
+ },
121
+ "category" : {
122
+ "index" : ["T", "M", "F"],
123
+ "label" : {
124
+ "T" : "total",
125
+ "M" : "male",
126
+ "F" : "female"
127
+ }
128
+ }
129
+ }
130
+ }
131
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "version" : "2.0",
3
+ "class" : "collection",
4
+ "href" : "http://json-stat.org/samples/datasets/index.json",
5
+ "label" : "Full List of Datasets",
6
+ "updated" : "2016-01-01",
7
+ "link" : {
8
+ "item" : [
9
+ {
10
+ "class" : "dataset",
11
+ "href" : "http://json-stat.org/samples/oecd.json",
12
+ "label" : "Unemployment rate in the OECD countries 2003-2014"
13
+ },
14
+ {
15
+ "class" : "dataset",
16
+ "href" : "http://json-stat.org/samples/us-gsp.json",
17
+ "label" : "US States by GSP and population"
18
+ },
19
+ {
20
+ "class" : "dataset",
21
+ "href" : "http://json-stat.org/samples/us-unr.json",
22
+ "label" : "Unemployment Rates by County, 2012 Annual Averages"
23
+ },
24
+ {
25
+ "class" : "dataset",
26
+ "href" : "http://json-stat.org/samples/us-labor.json",
27
+ "label" : "Labor Force Data by County, 2012 Annual Averages"
28
+ },
29
+ {
30
+ "class" : "dataset",
31
+ "href" : "http://json-stat.org/samples/canada.json",
32
+ "label" : "Population by sex and age group. Canada. 2012"
33
+ },
34
+ {
35
+ "class" : "dataset",
36
+ "href" : "http://json-stat.org/samples/galicia.json",
37
+ "label" : "Population by province of residence, place of birth, age, gender and year in Galicia"
38
+ },
39
+ {
40
+ "class" : "dataset",
41
+ "href" : "http://json-stat.org/samples/order.json",
42
+ "label" : "Demo of value ordering: what does not change, first"
43
+ },
44
+ {
45
+ "class" : "dataset",
46
+ "href" : "http://json-stat.org/samples/hierarchy.json",
47
+ "label" : "Demo of hierarchical dimension"
48
+ }
49
+ ]
50
+ }
51
+ }
@@ -0,0 +1,124 @@
1
+ {
2
+ "version" : "2.0",
3
+ "class" : "dataset",
4
+ "href" : "https://json-stat.org/samples/galicia.json",
5
+ "label" : "Population by province of residence, place of birth, age, gender and year in Galicia",
6
+ "source" : "INE and IGE",
7
+ "updated" : "2012-12-27T12:25:09Z",
8
+ "value" : [2695880,1096027,357648,338446,903759,2772928,1141286,348067,328697,954877,1294378,525388,173339,161968,433683,1341269,549283,169376,158758,463853,1401502,570639,184309,176478,470076,1431658,592004,178692,169939,491024,94722,38504,9991,9364,36863,113118,47928,11252,10574,43364,48723,19757,5090,4830,19046,58669,24796,5710,5476,22687,45999,18747,4901,4534,17817,54449,23132,5542,5098,20677,101884,40697,11500,11161,38526,109678,45491,10833,10531,42822,52343,20844,5818,5819,19862,56623,23352,5626,5416,22230,49541,19853,5682,5342,18664,53055,22140,5207,5115,20593,122960,48899,14843,13668,45550,104734,42888,11176,10389,40281,62994,25108,7589,6938,23359,54063,22121,5712,5335,20896,59966,23791,7254,6730,22191,50671,20767,5464,5054,19385,157255,63920,19036,17447,56852,111475,44587,12615,12264,42010,80408,32665,9630,9014,29099,57320,22767,6429,6393,21730,76847,31255,9406,8433,27753,54156,21819,6186,5871,20280,207668,85392,23538,22348,76390,132761,53232,16119,14823,48587,105460,43477,12036,11348,38599,67613,27065,8215,7498,24834,102208,41915,11502,11000,37791,65149,26167,7904,7325,23752,213916,89288,23541,22813,78274,165935,68441,20045,18111,59339,107324,44906,11646,11372,39400,84038,34355,10189,9252,30242,106592,44382,11895,11441,38874,81897,34086,9855,8858,29097,201933,83854,23696,22117,72266,216539,90743,24405,21978,79412,100260,41391,11809,11037,36023,109506,45746,12535,11183,40042,101673,42463,11887,11080,36243,107033,44997,11871,10795,39370,193792,81111,24717,21536,66428,226550,95746,24490,22788,83526,95461,39761,12388,10633,32679,114140,48039,12322,11459,42319,98331,41350,12329,10903,33749,112409,47706,12167,11328,41207,191581,79605,24986,22300,64690,215378,90301,24851,22947,77279,94722,39201,12862,11119,31540,107505,44568,12417,11612,38908,96859,40404,12124,11181,33150,107873,45733,12434,11335,38371,174440,72850,22437,20194,58959,203232,85284,25570,22546,69832,86781,36034,11818,10278,28651,100436,41846,12784,11184,34621,87659,36816,10619,9916,30308,102796,43438,12786,11361,35211,168933,71342,20672,20358,56561,196554,81770,25371,23065,66348,83531,34919,10643,10173,27796,97195,40152,13015,11518,32510,85402,36423,10029,10185,28765,99359,41618,12356,11546,33838,163648,68271,20867,21525,52985,176206,73320,22699,20888,59300,79465,33030,10282,10407,25746,86745,35827,11792,10502,28624,84183,35241,10585,11118,27239,89461,37492,10908,10386,30675,135825,55269,19697,19304,41555,168390,70627,20745,21087,55930,63800,26090,9261,9017,19432,81692,33801,10495,10335,27061,72025,29179,10436,10287,22123,86697,36826,10250,10752,28869,169232,67381,26384,26067,49400,160341,66421,20725,22104,51091,77457,30684,12368,12163,22242,75914,31248,9990,10542,24134,91775,36697,14016,13904,27158,84427,35172,10736,11563,26956,143719,55857,24503,22950,40409,126758,51247,18633,18513,38366,63169,24305,11214,10371,17279,57309,23170,8484,8520,17136,80550,31552,13289,12579,23130,69449,28077,10149,9994,21230,112769,41941,20843,19568,30417,144226,57443,22610,22431,41742,45634,16650,9020,8348,11616,61377,24187,9919,9936,17335,67135,25291,11823,11220,18801,82850,33256,12691,12495,24407,76402,28335,14123,13420,20524,105472,40834,18116,16909,29613,27330,9787,5530,5185,6828,41105,15677,7438,6934,11056,49072,18548,8593,8235,13696,64367,25157,10678,9975,18557,43981,15865,8189,8276,11651,62347,22948,11542,10797,17061,13750,4860,2920,2733,3237,21011,7465,4303,3949,5294,30231,11005,5269,5543,8414,41336,15483,7239,6848,11767,15294,5455,2970,2918,3951,25493,9387,4781,4477,6848,4786,1609,1160,984,1033,7191,2479,1564,1390,1758,12325,4523,2150,2266,3386,18302,6908,3218,3087,5089,3718,1396,693,705,924,6715,2328,1277,1276,1833,887,290,227,183,187,1603,560,372,291,380,2831,1106,466,522,737,5111,1768,905,986,1453,391,118,82,75,116,1025,322,211,199,293,93,20,28,16,29,213,60,64,34,55,298,98,54,59,87,812,262,147,164,238,1695355,642736,239519,202971,610129,1579732,600831,212365,176156,590381,822813,312530,120034,98290,291959,770929,292759,106782,86316,285072,872542,330206,119485,104681,318170,808803,308072,105583,89840,305308,76971,29388,8643,7339,31601,92261,37386,9709,8312,36854,39610,15105,4425,3792,16288,47862,19268,4960,4340,19294,37361,14283,4218,3547,15313,44399,18118,4750,3972,17560,77607,28972,9552,8039,31044,80896,31486,8466,7367,33576,39882,14837,4831,4151,16063,41885,16228,4392,3784,17481,37725,14135,4721,3888,14981,39011,15258,4075,3583,16095,92266,35037,11945,9239,36045,72245,27788,8188,6667,29602,47384,18051,6099,4712,18522,37324,14343,4195,3415,15371,44882,16986,5846,4527,17523,34921,13445,3993,3252,14231,117043,45957,14810,11697,44579,74576,27779,9176,7596,30025,60048,23632,7514,6072,22830,38397,14188,4673,3953,15583,56995,22325,7296,5625,21749,36179,13591,4503,3642,14442,148915,59411,17347,14033,58124,86449,32674,11229,8426,34120,76715,30742,8991,7353,29629,44705,16953,5820,4322,17610,72200,28669,8356,6680,28495,41744,15720,5409,4103,16511,137504,54823,15566,12656,54459,98694,38509,12570,9419,38196,70887,28413,8046,6557,27871,51627,20103,6553,5004,19967,66617,26410,7520,6099,26588,47068,18405,6018,4415,18229,114435,44003,14094,11169,45169,115228,44879,13376,10201,46772,58979,22583,7594,6016,22786,59997,23438,7142,5460,23957,55456,21420,6500,5153,22383,55232,21441,6234,4742,22815,103254,39692,14095,10068,39399,108529,41710,12277,9372,45171,52328,20072,7623,5357,19276,55725,21434,6454,4908,22929,50926,19620,6472,4711,20123,52804,20277,5822,4463,22242,101162,38626,14167,10666,37703,101273,38274,12354,9447,41198,51775,19802,7863,5715,18395,51344,19237,6630,5103,20373,49387,18824,6304,4951,19308,49929,19036,5724,4344,20825,92890,35799,12817,10175,34099,97768,37270,13216,9587,37696,47384,18316,7126,5403,16539,48976,18575,7118,5054,18229,45506,17483,5691,4772,17560,48792,18694,6098,4533,19466,92580,36229,12478,10901,32972,97952,37232,13691,10488,36541,46254,18084,6675,5605,15890,49636,18852,7522,5555,17708,46326,18145,5803,5296,17082,48316,18381,6169,4933,18833,93052,35477,13206,12301,32068,90412,34610,12521,10244,33037,44925,17197,6659,5903,15166,45210,17348,6812,5323,15726,48127,18280,6547,6398,16902,45202,17262,5709,4921,17310,80456,29707,12998,11539,26212,89743,34824,12256,11049,31615,36933,13730,6248,5242,11713,43642,16861,6399,5508,14873,43523,15977,6750,6297,14499,46102,17963,5857,5540,16741,106541,38829,18048,16859,32805,88949,33706,12785,12319,30139,48177,17436,8705,7774,14262,41617,15699,6296,5869,13754,58364,21393,9343,9085,18543,47332,18008,6489,6450,16385,92977,33438,16844,15142,27553,73085,26925,11919,10786,23456,40726,14446,8006,6731,11543,32211,11907,5549,4854,9900,52251,18992,8838,8411,16010,40874,15018,6369,5932,13556,74142,25595,14412,13435,20700,88144,32182,15054,13976,26933,29969,10133,6464,5676,7696,36972,13336,6781,6094,10761,44173,15462,7948,7759,13004,51172,18846,8273,7882,16172,50188,17271,9771,9161,13985,65217,23516,11950,10524,19227,17978,5979,3952,3525,4522,25403,8949,5158,4260,7035,32210,11292,5819,5636,9463,39815,14567,6792,6263,12192,29070,9692,5766,5772,7840,38285,13241,7564,6754,10727,8920,2801,2132,1871,2116,12942,4279,2965,2472,3225,20150,6891,3634,3901,5724,25344,8962,4598,4281,7502,10348,3427,2167,2004,2750,15360,5338,3084,2699,4239,3265,986,887,694,698,4381,1435,1058,839,1049,8308,2873,1521,1541,2373,10979,3903,2026,1860,3191,2474,860,496,492,626,4015,1305,830,793,1086,609,174,174,126,135,936,290,257,172,217,1865,686,322,366,491,3079,1015,573,621,870,255,71,56,53,75,648,197,149,131,172,65,11,20,15,19,139,35,48,25,31,190,60,36,38,56,510,162,101,105,142,591569,289921,74279,78981,148388,655747,321573,74995,82655,176524,278166,135651,32807,36948,72760,311911,152407,33202,38907,87394,313403,154270,41472,42033,75628,343836,169166,41792,43748,89130,12273,7020,723,1118,3412,14606,7980,730,1443,4454,6307,3601,344,581,1781,7580,4161,343,737,2338,5966,3419,379,537,1631,7026,3818,386,705,2116,14719,7916,985,1512,4306,16121,8794,830,1536,4961,7520,4012,493,813,2202,8432,4590,449,813,2580,7199,3904,492,699,2104,7689,4204,381,722,2381,17068,8682,1408,2023,4955,16727,8738,1076,1606,5306,8715,4447,710,1022,2536,8608,4514,527,839,2728,8353,4235,698,1001,2419,8119,4224,549,768,2578,21986,11040,2036,2614,6296,18589,9410,1321,2013,5845,11071,5509,1018,1338,3206,9531,4801,647,1075,3008,10915,5531,1018,1276,3090,9058,4609,673,938,2837,30039,15189,2515,3400,8935,21648,10688,1925,2551,6484,14721,7585,1183,1605,4348,10842,5369,908,1296,3270,15318,7604,1332,1795,4587,10805,5319,1016,1255,3214,36898,18906,3212,3837,10943,31175,15323,2912,3444,9497,17578,9076,1387,1777,5338,15173,7458,1383,1707,4625,19320,9830,1825,2060,5605,16001,7864,1529,1737,4872,46198,22738,4852,4956,13652,48950,24544,4221,4692,15493,21863,10782,2034,2246,6801,24052,12210,1901,2275,7666,24335,11956,2818,2710,6851,24898,12334,2321,2417,7827,50810,24775,6322,5995,13718,55988,28581,4750,5220,17438,24582,11943,2782,2814,7043,27776,14245,2141,2497,8893,26228,12832,3540,3181,6675,28212,14335,2609,2723,8545,54158,26041,7086,6918,14113,56730,27944,5792,5904,17090,25949,12311,3280,3268,7090,27840,13635,2558,2762,8885,28209,13730,3806,3650,7023,28890,14309,3234,3142,8206,49792,24288,6490,6227,12787,55621,27121,6807,6395,15297,24217,11587,3145,3059,6426,27337,13262,3041,3058,7976,25575,12701,3345,3168,6361,28285,13860,3766,3337,7322,46709,23097,5681,6242,11689,56388,27116,7242,7224,14805,22635,10941,2716,3013,5965,27226,12895,3367,3485,7479,24074,12156,2965,3229,5724,29162,14221,3875,3739,7326,44418,22025,5529,6398,10466,50526,24560,6562,6357,13046,21535,10531,2571,3133,5300,24573,11662,3195,3124,6592,22883,11494,2958,3265,5166,25953,12898,3367,3233,6454,35681,17689,4960,5422,7610,47077,23093,5663,6483,11838,17116,8473,2206,2582,3855,22563,10774,2684,3104,6001,18565,9216,2754,2840,3755,24514,12319,2979,3379,5837,41885,20090,6337,6775,8683,44252,21642,5598,6729,10284,19429,9237,2766,3211,4215,20966,10168,2530,3200,5068,22456,10853,3571,3564,4468,23286,11474,3068,3529,5216,33087,15658,5560,5431,6438,34168,16583,4853,5447,7284,14602,6847,2328,2524,2903,15764,7608,2094,2534,3529,18485,8811,3232,2907,3535,18403,8975,2760,2913,3755,24891,11252,4689,4318,4632,37086,17472,5672,6328,7614,10063,4417,1838,1886,1922,15992,7433,2327,2866,3366,14828,6835,2851,2432,2710,21093,10038,3346,3462,4247,17048,7543,3257,3041,3207,26180,11985,4481,4588,5127,6059,2540,1171,1197,1151,10211,4627,1646,1944,1994,10989,5003,2086,1844,2056,15970,7359,2835,2644,3133,9488,4063,1757,1837,1831,15409,6532,2900,2969,3008,3049,1331,570,627,521,5141,2122,971,1078,970,6439,2732,1187,1210,1310,10268,4410,1929,1890,2038,3167,1350,624,673,520,6571,2733,1279,1310,1250,959,405,214,209,131,1829,682,383,419,346,2596,1111,482,542,461,4742,2051,896,891,904,783,358,165,156,104,1699,650,334,366,349,174,69,46,42,17,435,176,94,90,75,609,289,119,114,87,1264,474,241,275,274,83,35,19,10,19,235,84,46,50,54,22,7,5,1,9,39,14,13,5,7,61,28,14,9,10,196,70,33,46,47,172017,71470,15074,17219,68254,180546,76593,16473,17481,69999,80214,33060,6985,8056,32113,84109,35227,7718,8220,32943,91803,38410,8089,9163,36141,96437,41365,8756,9261,37056,1612,522,266,242,582,1732,645,257,249,581,824,269,133,115,307,912,341,141,125,305,788,253,133,127,275,820,305,116,124,276,2308,813,320,324,851,2306,848,340,324,794,1181,422,168,168,423,1185,430,177,167,410,1127,391,152,156,428,1121,417,163,156,384,3202,1104,456,390,1252,2472,912,346,334,880,1622,558,230,196,638,1255,466,170,166,452,1580,546,226,194,614,1217,446,176,167,428,4648,1707,637,452,1852,2841,1057,380,390,1015,2338,836,326,218,958,1463,536,195,213,519,2310,871,311,234,894,1378,521,185,177,495,7123,2539,959,815,2810,3918,1494,541,480,1404,3481,1185,502,392,1402,1934,723,276,243,692,3642,1354,457,423,1408,1985,771,265,237,712,8925,3540,1042,934,3409,6761,2811,859,675,2415,4213,1636,477,431,1669,3246,1281,437,328,1201,4712,1904,565,503,1740,3515,1530,423,348,1215,11458,4998,1215,1099,4146,11647,4902,1459,1113,4173,5297,2312,535,506,1944,5549,2280,737,528,2005,6161,2686,680,593,2202,6097,2622,722,585,2168,13989,6387,1293,1351,4958,14114,6070,1573,1301,5169,6502,2924,596,621,2361,6728,2790,752,609,2578,7487,3463,697,730,2597,7385,3280,822,692,2591,15662,6864,1328,1578,5892,14639,6650,1454,1285,5250,7283,3252,632,712,2687,7029,3178,659,621,2570,8379,3612,696,866,3205,7611,3472,795,664,2680,16665,7089,1233,1603,6740,15423,7123,1448,1413,5440,7838,3283,590,788,3177,7303,3327,703,647,2627,8827,3806,643,815,3563,8120,3796,745,766,2813,17236,7202,1088,1529,7417,16186,7164,1340,1569,6112,8451,3476,523,737,3715,7597,3413,636,728,2821,8785,3726,565,792,3702,8589,3752,704,841,3291,15844,6631,977,1430,6806,16713,7148,1289,1607,6669,7845,3222,483,689,3451,7855,3323,619,786,3127,7999,3409,494,741,3355,8858,3825,670,821,3542,11867,4971,798,1160,4938,17003,7101,1096,1524,7282,5845,2443,348,592,2462,8224,3380,522,725,3598,6022,2528,450,568,2476,8778,3722,573,799,3685,13161,5574,1017,1295,5275,15483,6459,979,1397,6648,6217,2603,472,650,2492,7539,3106,471,669,3293,6944,2971,545,645,2783,7944,3353,508,728,3355,10285,4170,883,1124,4108,11235,4726,803,1051,4655,4600,1875,383,518,1824,5332,2216,336,521,2259,5685,2295,500,606,2284,5902,2510,467,529,2396,7969,3148,702,843,3276,11858,5053,928,1119,4758,3250,1288,288,367,1307,5188,2170,409,526,2084,4719,1860,414,476,1969,6670,2883,519,593,2674,5349,2221,462,561,2105,8302,3321,696,864,3421,1921,802,176,194,749,3255,1298,261,355,1341,3428,1419,286,367,1356,5046,2023,435,509,2081,3204,1356,289,331,1228,5098,2007,442,483,2167,1064,479,94,112,379,1739,666,146,187,741,2140,877,195,219,849,3359,1341,296,296,1426,1077,454,81,114,428,2134,838,189,229,878,368,161,26,40,141,596,232,59,62,244,829,344,64,85,336,1538,606,130,167,635,283,120,17,28,118,598,244,44,60,250,72,33,2,10,27,153,66,12,11,64,211,87,15,18,91,445,178,32,49,186,30,9,2,5,14,84,21,10,14,39,2,1,1,0,0,26,7,2,4,14,28,8,1,5,14,58,15,8,10,25,122825,49780,18863,16110,38072,143757,59562,22097,18088,44010,59608,24359,8992,7657,18600,70595,29459,10754,8599,21783,63217,25421,9871,8453,19472,73162,30103,11343,9489,22227,1738,676,226,286,550,2708,1162,379,363,803,895,337,119,147,292,1395,630,182,180,404,843,339,107,139,258,1312,533,197,183,399,2601,1013,341,415,832,4454,1849,524,606,1476,1305,504,170,214,417,2265,907,305,302,752,1296,509,171,201,415,2189,942,219,304,724,3829,1439,548,597,1245,3961,1572,502,529,1359,1941,711,302,306,622,2044,788,270,272,714,1888,728,246,291,623,1917,784,232,257,645,5432,2126,899,849,1558,3747,1500,513,545,1189,2799,1122,455,438,784,1885,723,278,278,606,2633,1004,444,411,774,1862,778,234,268,583,9395,3602,1746,1460,2587,4903,1917,734,717,1535,4704,1759,897,705,1343,2337,890,369,331,748,4691,1843,849,755,1244,2565,1027,365,386,788,11663,4640,2120,1573,3330,7583,3184,1240,1055,2104,5621,2212,1017,765,1627,3582,1509,577,504,993,6042,2428,1103,808,1703,4001,1675,663,551,1112,12048,4991,2054,1580,3423,13181,5520,2308,1731,3622,5757,2398,937,741,1681,6462,2652,1160,827,1823,6291,2593,1117,839,1742,6719,2868,1148,904,1799,12182,5178,1881,1590,3533,15804,6590,2706,1849,4660,5829,2540,889,721,1679,7876,3319,1320,914,2323,6353,2638,992,869,1854,7928,3271,1386,935,2337,11575,4874,1709,1475,3517,14802,6290,2499,1773,4240,5613,2411,792,660,1750,7382,3139,1187,856,2200,5962,2463,917,815,1767,7420,3151,1312,917,2040,10061,4063,1460,1208,3330,13537,5848,2099,1703,3887,5070,2092,764,587,1627,6739,2983,1011,809,1935,4991,1971,696,621,1703,6798,2864,1088,894,1952,9263,3856,1201,1056,3150,12243,5216,1850,1495,3681,4817,2031,629,521,1636,6064,2645,899,653,1867,4446,1825,572,535,1514,6178,2571,951,842,1814,8016,3370,986,933,2727,10508,4272,1547,1269,3419,4120,1736,485,472,1427,5324,2236,800,614,1674,3896,1634,501,461,1300,5184,2036,747,655,1745,5987,2373,824,748,2042,9503,3953,1287,1115,3148,3061,1218,399,388,1056,4987,2103,694,545,1645,2926,1155,425,360,986,4515,1849,593,570,1503,5949,2397,832,715,2005,8212,3412,1075,1009,2716,2920,1195,365,330,1030,4278,1761,554,515,1449,3029,1202,467,385,975,3934,1652,521,494,1267,4897,1964,758,626,1549,5856,2271,869,733,1983,2176,876,309,297,694,2903,1125,417,372,989,2721,1088,449,329,855,2953,1145,453,361,994,3652,1449,578,449,1176,5398,2161,800,647,1791,1493,611,237,182,463,2524,1019,342,289,874,2159,838,341,267,713,2874,1142,458,358,917,2554,989,397,312,856,3786,1496,597,484,1209,901,366,139,110,286,1477,609,219,196,453,1653,623,258,202,570,2309,887,378,288,756,1341,542,216,146,437,2314,876,373,306,759,431,182,61,47,141,769,298,127,108,236,910,360,155,99,296,1545,578,246,198,524,451,170,59,64,158,979,366,150,132,330,129,46,21,22,40,249,102,38,29,80,375,144,49,49,133,730,264,112,103,250,123,45,12,17,49,244,94,41,27,83,23,11,3,4,5,44,17,5,6,16,100,34,9,13,44,200,77,36,21,66,15,3,5,4,3,35,15,6,null,15,3,1,2,0,0,7,4,1,null,2,12,2,3,4,3,28,11,5,null,13,114114,42120,9913,23165,38916,213145,82727,22138,34318,73962,53577,19788,4521,11017,18251,103726,39430,10920,16715,36660,60537,22332,5392,12148,20665,109419,43297,11218,17602,37302,2128,898,133,379,718,1811,754,177,207,672,1087,445,69,195,378,920,396,84,94,347,1041,453,64,184,340,891,359,93,114,325,4649,1983,302,871,1493,5901,2515,673,699,2015,2455,1069,156,473,757,2856,1197,304,349,1007,2194,914,146,398,736,3045,1318,369,350,1008,6595,2637,486,1419,2053,9329,3878,1063,1253,3135,3332,1341,248,702,1041,4832,2009,550,642,1631,3263,1296,238,717,1012,4497,1869,513,611,1504,8146,3090,654,1835,2567,11722,4840,1226,1720,3936,4152,1566,317,948,1321,6044,2520,636,874,2014,3994,1524,337,887,1246,5678,2321,589,846,1922,12196,4651,971,2640,3934,15844,6459,1691,2650,5043,5839,2206,463,1293,1877,7794,3130,843,1306,2515,6357,2445,508,1347,2057,8050,3329,848,1343,2528,18926,7379,1601,3813,6133,21722,8615,2463,3517,7127,9025,3569,719,1842,2895,10410,4003,1240,1710,3457,9901,3810,882,1971,3238,11312,4612,1223,1807,3670,17794,7124,1481,3313,5876,27532,10898,3041,4241,9353,8364,3316,709,1528,2811,13446,5166,1595,2093,4592,9430,3808,772,1785,3065,14086,5732,1445,2148,4761,13557,5079,1126,2532,4820,32114,12795,3185,5046,11089,6220,2282,498,1120,2320,16036,6252,1656,2532,5597,7337,2797,628,1412,2500,16079,6543,1529,2514,5492,9024,3200,696,1663,3465,27933,11143,2752,4538,9500,4102,1425,295,764,1618,13911,5379,1382,2270,4880,4922,1775,401,899,1847,14023,5764,1370,2269,4620,5032,1611,437,981,2003,20883,7923,2000,3447,7512,2272,756,193,441,882,10081,3699,911,1616,3854,2760,855,244,540,1121,10802,4223,1089,1831,3658,3145,958,224,630,1333,13785,5042,1248,2287,5209,1374,387,100,297,590,6672,2348,591,1098,2636,1771,571,124,333,743,7113,2694,657,1190,2573,2318,768,169,463,918,8048,2729,780,1411,3128,1040,344,84,210,402,3784,1258,366,655,1505,1278,424,85,253,516,4264,1472,413,756,1623,1834,529,117,435,753,5064,1656,443,917,2048,845,226,60,213,346,2276,683,195,454,944,989,303,57,222,407,2788,973,248,464,1104,1696,491,150,423,632,3445,1201,288,651,1305,714,213,60,198,243,1515,515,139,290,572,982,278,90,225,389,1931,686,150,362,733,2473,627,458,627,761,2414,743,188,496,988,1065,261,188,301,315,1098,314,88,238,459,1408,366,270,326,446,1316,429,100,258,529,2115,497,462,523,633,1741,575,157,361,647,859,201,193,237,228,700,229,61,161,249,1256,296,269,286,405,1041,346,96,200,398,1263,311,236,345,371,1987,515,392,450,629,471,100,92,159,120,759,194,154,178,233,792,211,144,186,251,1228,321,238,272,396,878,212,161,190,315,1241,293,264,285,399,286,67,63,76,80,421,100,95,104,122,592,145,98,114,235,821,193,169,182,277,251,54,39,63,95,449,112,80,108,149,65,11,12,19,23,135,28,26,41,40,217,51,34,49,83,314,84,54,67,110,55,13,3,12,27,159,36,28,30,65,9,3,2,1,3,35,11,5,11,8,46,10,1,11,24,124,25,23,19,56,8,0,0,3,5,22,5,1,3,13,1,0,0,0,1,2,0,null,0,2,7,0,0,3,4,20,4,1,3,11],
9
+ "id" : ["birth","age","gender","time","residence","concept"],
10
+ "size" : [6,22,3,2,5,1],
11
+ "role": {
12
+ "time": ["time"],
13
+ "geo": ["residence", "birth"],
14
+ "metric": ["concept"]
15
+ },
16
+ "dimension" : {
17
+ "concept": {
18
+ "label" : "concept",
19
+ "category" : {
20
+ "label" : {
21
+ "pop" : "population"
22
+ },
23
+ "unit" : {
24
+ "pop" : {
25
+ "label" : "persons",
26
+ "decimals" : 0
27
+ }
28
+ }
29
+ }
30
+ },
31
+ "birth" : {
32
+ "label" : "place of birth",
33
+ "category" : {
34
+ "index" : ["T", "C", "P", "G", "A", "F"],
35
+ "label" : {
36
+ "T" : "total",
37
+ "C" : "county of residence",
38
+ "P" : "another county in the same province",
39
+ "G" : "another province of Galicia",
40
+ "A" : "in another autonomous community",
41
+ "F" : "abroad"
42
+ }
43
+ }
44
+ }
45
+ ,
46
+ "age" : {
47
+ "label" : "age group",
48
+ "category" : {
49
+ "index" : [
50
+ "T", "0", "5", "10", "15", "20", "25", "30", "35", "40", "45", "50", "55", "60", "65", "70", "75",
51
+ "80", "85", "90", "95", "100"
52
+ ],
53
+ "label" : {
54
+ "T" : "total",
55
+ "0" : "0-4",
56
+ "5" : "5-9",
57
+ "10" : "10-14",
58
+ "15" : "15-19",
59
+ "20" : "20-24",
60
+ "25" : "25-29",
61
+ "30" : "30-34",
62
+ "35" : "35-39",
63
+ "40" : "40-44",
64
+ "45" : "45-49",
65
+ "50" : "50-54",
66
+ "55" : "55-59",
67
+ "60" : "60-64",
68
+ "65" : "65-69",
69
+ "70" : "70-74",
70
+ "75" : "75-79",
71
+ "80" : "80-84",
72
+ "85" : "85-89",
73
+ "90" : "90-94",
74
+ "95" : "95-99",
75
+ "100" : "100+"
76
+ }
77
+ }
78
+ }
79
+ ,
80
+ "gender" : {
81
+ "label" : "gender",
82
+ "category" : {
83
+ "index" : ["T", "M", "F"],
84
+ "label" : {
85
+ "T" : "total",
86
+ "M" : "male",
87
+ "F" : "female"
88
+ }
89
+ }
90
+ }
91
+ ,
92
+ "time" : {
93
+ "label" : "year",
94
+ "category" : {
95
+ "index" : {
96
+ "2001" : 0,
97
+ "2011" : 1
98
+ }
99
+ }
100
+ }
101
+ ,
102
+ "residence" : {
103
+ "label" : "province of residence",
104
+ "category" : {
105
+ "index" : ["T", "15", "27", "32", "36"],
106
+ "label" : {
107
+ "T" : "total",
108
+ "15" : "A Coruña",
109
+ "27" : "Lugo",
110
+ "32" : "Ourense",
111
+ "36" : "Pontevedra"
112
+ }
113
+ }
114
+ }
115
+ },
116
+ "link" : {
117
+ "alternate" : [
118
+ {
119
+ "type" : "text/csv",
120
+ "href" : "https://json-stat.org/samples/galicia.csv"
121
+ }
122
+ ]
123
+ }
124
+ }
@@ -0,0 +1,200 @@
1
+ {
2
+ "version" : "2.0",
3
+ "class" : "dataset",
4
+ "href" : "https://json-stat.org/samples/hierarchy.json",
5
+ "label" : "Demo of hierarchical dimension",
6
+ "source" : "16th Series CPI Commodity Classification (http://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/6401.0.55.0042011)",
7
+ "updated" : "2011-07-01",
8
+ "value" : { "0" : null },
9
+ "id" : ["commodity"],
10
+ "size" : [132],
11
+ "dimension" : {
12
+ "commodity" : {
13
+ "label" : "CPI commodity",
14
+ "category" : {
15
+ "index" : [ "T", "1", "1.1", "1.1.1", "1.1.2", "1.1.3", "1.1.4", "1.2", "1.2.1", "1.2.2", "1.2.3", "1.2.4", "1.2.5", "1.2.6", "1.3", "1.3.1", "1.3.2", "1.3.3", "1.4", "1.4.1", "1.4.2", "1.5", "1.5.1", "1.5.2", "1.5.3", "1.5.4", "1.5.5", "1.5.6", "1.6", "1.6.1", "1.6.2", "1.7", "1.7.1", "1.7.2", "2", "2.1", "2.1.1", "2.1.2", "2.1.3", "2.2", "2.2.1", "3", "3.1", "3.1.1", "3.1.2", "3.1.3", "3.2", "3.2.1", "3.2.2", "3.2.3", "3.3", "3.3.1", "3.3.2", "4", "4.1", "4.1.1", "4.2", "4.2.1", "4.3", "4.3.1", "4.3.2", "4.4", "4.4.1", "4.4.2", "4.4.3", "5", "5.1", "5.1.1", "5.1.2", "5.2", "5.2.1", "5.3", "5.3.1", "5.3.2", "5.3.3", "5.3.4", "5.4", "5.4.1", "5.4.2", "5.4.3", "5.5", "5.5.1", "5.5.2", "5.5.3", "6", "6.1", "6.1.1", "6.1.2", "6.2", "6.2.1", "6.2.2", "7", "7.1", "7.1.1", "7.1.2", "7.1.3", "7.1.4", "7.1.5", "7.2", "7.2.1", "8", "8.1", "8.1.1", "8.1.2", "9", "9.1", "9.1.1", "9.1.2", "9.2", "9.2.1", "9.2.2", "9.3", "9.3.1", "9.3.2", "9.4", "9.4.1", "9.4.2", "9.4.3", "9.4.4", "9.4.5", "9.4.6", "10", "10.1", "10.1.1", "10.1.2", "10.1.3", "11", "11.1", "11.1.1", "11.2", "11.2.1", "11.2.2" ],
16
+ "label" : {
17
+ "T" : "Total",
18
+ "1" : "Food and non-alcoholic beverages",
19
+ "1.1" : "Bread and cereal products",
20
+ "1.1.1" : "Bread",
21
+ "1.1.2" : "Cakes and biscuits",
22
+ "1.1.3" : "Breakfast cereals",
23
+ "1.1.4" : "Other cereal products",
24
+ "1.2" : "Meat and seafoods",
25
+ "1.2.1" : "Beef and veal",
26
+ "1.2.2" : "Pork",
27
+ "1.2.3" : "Lamb and goat",
28
+ "1.2.4" : "Poultry",
29
+ "1.2.5" : "Other meats",
30
+ "1.2.6" : "Fish and other seafood",
31
+ "1.3" : "Dairy and related products",
32
+ "1.3.1" : "Milk",
33
+ "1.3.2" : "Cheese",
34
+ "1.3.3" : "Ice cream and other dairy products",
35
+ "1.4" : "Fruit and vegetables",
36
+ "1.4.1" : "Fruit",
37
+ "1.4.2" : "Vegetables",
38
+ "1.5" : "Food products n.e.c.",
39
+ "1.5.1" : "Eggs",
40
+ "1.5.2" : "Jams, honey and spreads",
41
+ "1.5.3" : "Food additives and condiments",
42
+ "1.5.4" : "Oils and fats",
43
+ "1.5.5" : "Snacks and confectionery",
44
+ "1.5.6" : "Other food products n.e.c.",
45
+ "1.6" : "Non-alcoholic beverages",
46
+ "1.6.1" : "Coffee, tea and cocoa",
47
+ "1.6.2" : "Waters, soft drinks and juices",
48
+ "1.7" : "Meals out and take away foods",
49
+ "1.7.1" : "Restaurant meals",
50
+ "1.7.2" : "Take away and fast foods",
51
+ "2" : "Alcohol and tobacco",
52
+ "2.1" : "Alcoholic beverages",
53
+ "2.1.1" : "Spirits",
54
+ "2.1.2" : "Wine",
55
+ "2.1.3" : "Beer",
56
+ "2.2" : "Tobacco",
57
+ "2.2.1" : "Tobacco",
58
+ "3" : "Clothing and footwear",
59
+ "3.1" : "Garments",
60
+ "3.1.1" : "Garments for men",
61
+ "3.1.2" : "Garments for women",
62
+ "3.1.3" : "Garments for infants and children",
63
+ "3.2" : "Footwear",
64
+ "3.2.1" : "Footwear for men",
65
+ "3.2.2" : "Footwear for women",
66
+ "3.2.3" : "Footwear for infants and children",
67
+ "3.3" : "Accessories and clothing services",
68
+ "3.3.1" : "Accessories",
69
+ "3.3.2" : "Cleaning, repair and hire of clothing and footwear",
70
+ "4" : "Housing",
71
+ "4.1" : "Rents",
72
+ "4.1.1" : "Rents",
73
+ "4.2" : "New dwelling purchase by owner-occupiers",
74
+ "4.2.1" : "New dwelling purchase by owner-occupiers",
75
+ "4.3" : "Other housing",
76
+ "4.3.1" : "Maintenance and repair of the dwelling",
77
+ "4.3.2" : "Property rates and charges",
78
+ "4.4" : "Utilities",
79
+ "4.4.1" : "Water and sewerage",
80
+ "4.4.2" : "Electricity",
81
+ "4.4.3" : "Gas and other household fuels",
82
+ "5" : "Furnishings, household equipment and services",
83
+ "5.1" : "Furniture and furnishings",
84
+ "5.1.1" : "Furniture",
85
+ "5.1.2" : "Carpets and other floor coverings",
86
+ "5.2" : "Household textiles",
87
+ "5.2.1" : "Household textiles",
88
+ "5.3" : "Household appliances, utensils and tools",
89
+ "5.3.1" : "Major household appliances",
90
+ "5.3.2" : "Small electric household appliances ",
91
+ "5.3.3" : "Glassware, tableware and household utensils",
92
+ "5.3.4" : "Tools and equipment for house and garden",
93
+ "5.4" : "Non-durable household products",
94
+ "5.4.1" : "Cleaning and maintenance products",
95
+ "5.4.2" : "Personal care products",
96
+ "5.4.3" : "Other non-durable household products",
97
+ "5.5" : "Domestic and household services",
98
+ "5.5.1" : "Child care",
99
+ "5.5.2" : "Hairdressing and personal grooming services",
100
+ "5.5.3" : "Other household services",
101
+ "6" : "Health",
102
+ "6.1" : "Medical products, appliances and equipment",
103
+ "6.1.1" : "Pharmaceutical products",
104
+ "6.1.2" : "Therapeutic appliances and equipment",
105
+ "6.2" : "Medical, dental and hospital services",
106
+ "6.2.1" : "Medical and hospital services",
107
+ "6.2.2" : "Dental services",
108
+ "7" : "Transport",
109
+ "7.1" : "Private motoring",
110
+ "7.1.1" : "Motor vehicles",
111
+ "7.1.2" : "Spare parts and accessories for motor vehicles",
112
+ "7.1.3" : "Automotive fuel",
113
+ "7.1.4" : "Maintenance and repair of motor vehicles",
114
+ "7.1.5" : "Other services in respect of motor vehicles",
115
+ "7.2" : "Urban transport fares",
116
+ "7.2.1" : "Urban transport fares",
117
+ "8" : "Communication",
118
+ "8.1" : "Communication",
119
+ "8.1.1" : "Postal services",
120
+ "8.1.2" : "Telecommunication equipment and services",
121
+ "9" : "Recreation and culture",
122
+ "9.1" : "Audio, visual and computing equipment and services",
123
+ "9.1.1" : "Audio, visual and computing equipment",
124
+ "9.1.2" : "Audio, visual and computing media and services",
125
+ "9.2" : "Newspapers, books and stationery",
126
+ "9.2.1" : "Books",
127
+ "9.2.2" : "Newspapers, magazines and stationery",
128
+ "9.3" : "Holiday travel and accommodation",
129
+ "9.3.1" : "Domestic holiday travel and accommodation",
130
+ "9.3.2" : "International holiday travel and accommodation",
131
+ "9.4" : "Other recreation, sport and culture",
132
+ "9.4.1" : "Equipment for sports, camping and open-air recreation",
133
+ "9.4.2" : "Games, toys and hobbies",
134
+ "9.4.3" : "Pets and related products",
135
+ "9.4.4" : "Veterinary and other services for pets",
136
+ "9.4.5" : "Sports participation",
137
+ "9.4.6" : "Other recreational, sporting and cultural services",
138
+ "10" : "Education",
139
+ "10.1" : "Education",
140
+ "10.1.1" : "Preschool and primary education",
141
+ "10.1.2" : "Secondary education",
142
+ "10.1.3" : "Tertiary education",
143
+ "11" : "Insurance and financial services",
144
+ "11.1" : "Insurance",
145
+ "11.1.1" : "Insurance",
146
+ "11.2" : "Financial services",
147
+ "11.2.1" : "Deposit and loan facilities (direct charges)",
148
+ "11.2.2" : "Other financial services"
149
+ },
150
+ "child" : {
151
+ "T" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11" ],
152
+ "1" : [ "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7" ],
153
+ "2" : [ "2.1", "2.2" ],
154
+ "3" : [ "3.1", "3.2", "3.3" ],
155
+ "4" : [ "4.1", "4.2", "4.3", "4.4" ],
156
+ "5" : [ "5.1", "5.2", "5.3", "5.4", "5.5" ],
157
+ "6" : [ "6.1", "6.2" ],
158
+ "7" : [ "7.1", "7.2" ],
159
+ "8" : [ "8.1" ],
160
+ "9" : [ "9.1", "9.2", "9.3", "9.4" ],
161
+ "10" : [ "10.1" ],
162
+ "11" : [ "11.1", "11.2" ],
163
+ "1.1" : [ "1.1.1", "1.1.2", "1.1.3", "1.1.4" ],
164
+ "1.2" : [ "1.2.1", "1.2.2", "1.2.3", "1.2.4", "1.2.5", "1.2.6" ],
165
+ "1.3" : [ "1.3.1", "1.3.2", "1.3.3" ],
166
+ "1.4" : [ "1.4.1", "1.4.2" ],
167
+ "1.5" : [ "1.5.1", "1.5.2", "1.5.3", "1.5.4", "1.5.5", "1.5.6"],
168
+ "1.6" : [ "1.6.1", "1.6.2" ],
169
+ "1.7" : [ "1.7.1", "1.7.2" ],
170
+ "2.1" : [ "2.1.1", "2.1.2", "2.1.3" ],
171
+ "2.2" : [ "2.2.1" ],
172
+ "3.1" : [ "3.1.1", "3.1.2", "3.1.3" ],
173
+ "3.2" : [ "3.2.1", "3.2.2", "3.2.3" ],
174
+ "3.3" : [ "3.3.1", "3.3.2" ],
175
+ "4.1" : [ "4.1.1" ],
176
+ "4.2": [ "4.2.1" ],
177
+ "4.3" : [ "4.3.1", "4.3.2" ],
178
+ "4.4" : [ "4.4.1", "4.4.2", "4.4.3" ],
179
+ "5.1" : [ "5.1.1", "5.1.2" ],
180
+ "5.2" : [ "5.2.1" ],
181
+ "5.3" : [ "5.3.1", "5.3.2", "5.3.3", "5.3.4" ],
182
+ "5.4" : [ "5.4.1", "5.4.2", "5.4.3" ],
183
+ "5.5" : [ "5.5.1", "5.5.2", "5.5.3" ],
184
+ "6.1" : [ "6.1.1", "6.1.2" ],
185
+ "6.2" : [ "6.2.1", "6.2.2" ],
186
+ "7.1" : [ "7.1.1", "7.1.2", "7.1.3", "7.1.4", "7.1.5" ],
187
+ "7.2" : [ "7.2.1" ],
188
+ "8.1" : [ "8.1.1", "8.1.2" ],
189
+ "9.1" : [ "9.1.1", "9.1.2" ],
190
+ "9.2" : [ "9.2.1", "9.2.2" ],
191
+ "9.3" : [ "9.3.1", "9.3.2" ],
192
+ "9.4" : [ "9.4.1", "9.4.2", "9.4.3", "9.4.4", "9.4.5", "9.4.6" ],
193
+ "10.1" : [ "10.1.1", "10.1.2", "10.1.3" ],
194
+ "11.1" : [ "11.1.1" ],
195
+ "11.2" : [ "11.2.1", "11.2.2" ]
196
+ }
197
+ }
198
+ }
199
+ }
200
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "version" : "2.0",
3
+ "class" : "collection",
4
+ "href" : "https://json-stat.org/samples/index.json",
5
+ "label" : "JSON-stat Sample Entry Point",
6
+ "updated" : "2016-01-01",
7
+ "link" : {
8
+ "item" : [
9
+ {
10
+ "class" : "collection",
11
+ "href" : "https://json-stat.org/samples/topics/index.json",
12
+ "label" : "Topics"
13
+ },
14
+ {
15
+ "class" : "collection",
16
+ "href" : "https://json-stat.org/samples/areas/index.json",
17
+ "label" : "Areas"
18
+ },
19
+ {
20
+ "class" : "collection",
21
+ "href" : "https://json-stat.org/samples/sources/index.json",
22
+ "label" : "Sources"
23
+ },
24
+ {
25
+ "class" : "collection",
26
+ "href" : "https://json-stat.org/samples/metrics/index.json",
27
+ "label" : "Metric Groups"
28
+ },
29
+ {
30
+ "class" : "collection",
31
+ "href" : "https://json-stat.org/samples/datasets/index.json",
32
+ "label" : "Full List of Datasets"
33
+ }
34
+ ]
35
+ }
36
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "version" : "2.0",
3
+ "class" : "collection",
4
+ "href" : "http://json-stat.org/samples/metrics/gdp/gsp.json",
5
+ "label" : "Metric: Gross State Product",
6
+ "updated" : "2016-01-01",
7
+ "link" : {
8
+ "item" : [
9
+ {
10
+ "class" : "dataset",
11
+ "href" : "http://json-stat.org/samples/us-gsp.json",
12
+ "label" : "US States by GSP and population"
13
+ }
14
+ ]
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "version" : "2.0",
3
+ "class" : "collection",
4
+ "href" : "http://json-stat.org/samples/metrics/gdp/gsppc.json",
5
+ "label" : "Metric: Gross State Product per capita",
6
+ "updated" : "2016-01-01",
7
+ "link" : {
8
+ "item" : [
9
+ {
10
+ "class" : "dataset",
11
+ "href" : "http://json-stat.org/samples/us-gsp.json",
12
+ "label" : "US States by GSP and population"
13
+ }
14
+ ]
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "version" : "2.0",
3
+ "class" : "collection",
4
+ "href" : "http://json-stat.org/samples/metrics/gdp/gspw.json",
5
+ "label" : "Metric: Gross State Product as percentage of national GDP",
6
+ "updated" : "2016-01-01",
7
+ "link" : {
8
+ "item" : [
9
+ {
10
+ "class" : "dataset",
11
+ "href" : "http://json-stat.org/samples/us-gsp.json",
12
+ "label" : "US States by GSP and population"
13
+ }
14
+ ]
15
+ }
16
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "version" : "2.0",
3
+ "class" : "collection",
4
+ "href" : "http://json-stat.org/samples/metrics/gdp/index.json",
5
+ "label" : "Metric Group: Gross Domestic Product",
6
+ "updated" : "2016-01-01",
7
+ "link" : {
8
+ "item" : [
9
+ {
10
+ "class" : "collection",
11
+ "href" : "http://json-stat.org/samples/metrics/gdp/gsp.json",
12
+ "label" : "Metric: Gross State Product"
13
+ },
14
+ {
15
+ "class" : "collection",
16
+ "href" : "http://json-stat.org/samples/metrics/gdp/gspw.json",
17
+ "label" : "Metric: Gross State Product as percentage of national GDP"
18
+ },
19
+ {
20
+ "class" : "collection",
21
+ "href" : "http://json-stat.org/samples/metrics/gdp/gsppc.json",
22
+ "label" : "Metric: Gross State Product per capita"
23
+ }
24
+ ]
25
+ }
26
+ }