Created
December 10, 2025 02:10
-
-
Save 9Dave9/73b76682330368f065548c07ed4514bb to your computer and use it in GitHub Desktop.
Options from dimensions - to get human readable locations instead of codes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "items": [ | |
| { | |
| "label": "England", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E92000001", | |
| "id": "E92000001" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E92000001" | |
| }, | |
| { | |
| "label": "Wales", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/W92000004", | |
| "id": "W92000004" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "W92000004" | |
| }, | |
| { | |
| "label": "North East", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E12000001", | |
| "id": "E12000001" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E12000001" | |
| }, | |
| { | |
| "label": "North West", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E12000002", | |
| "id": "E12000002" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E12000002" | |
| }, | |
| { | |
| "label": "Yorkshire and The Humber", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E12000003", | |
| "id": "E12000003" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E12000003" | |
| }, | |
| { | |
| "label": "East Midlands", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E12000004", | |
| "id": "E12000004" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E12000004" | |
| }, | |
| { | |
| "label": "West Midlands", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E12000005", | |
| "id": "E12000005" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E12000005" | |
| }, | |
| { | |
| "label": "East of England", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E12000006", | |
| "id": "E12000006" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E12000006" | |
| }, | |
| { | |
| "label": "London", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E12000007", | |
| "id": "E12000007" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E12000007" | |
| }, | |
| { | |
| "label": "South East", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E12000008", | |
| "id": "E12000008" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E12000008" | |
| }, | |
| { | |
| "label": "South West", | |
| "links": { | |
| "code": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography/codes/E12000009", | |
| "id": "E12000009" | |
| }, | |
| "code_list": { | |
| "href": "https://api.beta.ons.gov.uk/v1/code-lists/administrative-geography", | |
| "id": "administrative-geography" | |
| }, | |
| "version": { | |
| "href": "https://api.beta.ons.gov.uk/v1/datasets/weekly-deaths-age-sex/editions/time-series/versions/54", | |
| "id": "54" | |
| } | |
| }, | |
| "dimension": "geography", | |
| "option": "E12000009" | |
| } | |
| ], | |
| "count": 11, | |
| "offset": 0, | |
| "limit": 20, | |
| "total_count": 11 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment