Skip to content

Instantly share code, notes, and snippets.

@sammachin
Created August 7, 2014 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sammachin/0d87b5463b0c1e221e5a to your computer and use it in GitHub Desktop.
Save sammachin/0d87b5463b0c1e221e5a to your computer and use it in GitHub Desktop.
JSON STAT response from the API
{
"QS104EW": {
"source": "Office for National Statistics",
"updated": "17/10/2013 16:51:00",
"dimension": {
"2011WARDH": {
"category": {
"index": {
"K04000001": 0
},
"label": {
"K04000001": "England and Wales"
}
},
"label": "2011 Administrative Hierarchy"
},
"CL_0000035": {
"category": {
"index": {
"CI_0000121": 0,
"CI_0000070": 2,
"CI_0000071": 1
},
"label": {
"CI_0000121": "All categories: Sex",
"CI_0000070": "Females",
"CI_0000071": "Males"
}
},
"label": "Sex (T003A)"
},
"Att_000001": {
"category": {
"index": {
"Segment_1": 0
},
"unit": {
"Segment_1": {
"multiplier": "Units",
"base": "Person",
"type": "Count",
"unit": "Number",
"label": "All usual residents"
}
}
},
"label": "Measures"
},
"CL_0000137": {
"category": {
"index": {
"CI_0000001": 0
},
"label": {
"CI_0000001": "2011"
}
},
"label": "Time Dimension"
},
"role": {
"metric": [
"Att_000001"
],
"geo": [
"2011WARDH"
],
"time": [
"CL_0000137"
]
},
"id": [
"2011WARDH",
"CL_0000035",
"Att_000001",
"CL_0000137"
],
"size": [
8965,
3,
1,
1
]
},
"value": {
"0": 56075912,
"1": 27573376,
"2": 28502536
},
"label": "Sex"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment