Skip to content

Commit 84ade4f

Browse files
authored
Merge pull request #74 from OpenDataServices/GB-gov
Add new UK codes
2 parents 87bd27d + 97e9b57 commit 84ade4f

File tree

4 files changed

+160
-95
lines changed

4 files changed

+160
-95
lines changed

codes/gb/gb-cr.json

Lines changed: 0 additions & 51 deletions
This file was deleted.

codes/gb/gb-gor.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": {
3+
"en": "Government Organisation Register",
4+
"local": ""
5+
},
6+
"url": "http://government-organisation.alpha.openregister.org/",
7+
"description": {
8+
"en": "The UK Government Organisation Register contains an identifier for every government body with a presence on the gov.uk single domain.\n\nThis covers government departments, agencies and Arms Length Bodies (ALBs).\n\nEach organisation is assigned an alphanumeric identifier, and the register also includes website addresses, that can be mapped to entries in the GB-GOVUK identifier list. \n\nDue to the stable identifiers given in the Government Organisation Register, it should be preferred over codes from the GB-GOVUK list. "
9+
},
10+
"coverage": [
11+
"GB"
12+
],
13+
"subnationalCoverage": [],
14+
"structure": [
15+
"government_agency"
16+
],
17+
"sector": [],
18+
"code": "GB-GOR",
19+
"confirmed": true,
20+
"deprecated": false,
21+
"listType": "secondary",
22+
"access": {
23+
"availableOnline": true,
24+
"onlineAccessDetails": "The list is accessible as open data as part of the OpenRegister platform.",
25+
"publicDatabase": "http://government-organisation.alpha.openregister.org/",
26+
"guidanceOnLocatingIds": "The identifier is available in the 'government-organisation' field within the register. Identifiers are short alphanumeric strings. ",
27+
"exampleIdentifiers": "OT1211, PB1204, EA1113, D1198",
28+
"languages": [
29+
"en"
30+
]
31+
},
32+
"data": {
33+
"availability": [
34+
"api",
35+
"bulk",
36+
"csv",
37+
"json",
38+
"rdf"
39+
],
40+
"dataAccessDetails": "The full list and individual records are available in a number of machine-readable formats.",
41+
"features": [
42+
"date_of_registration",
43+
"expiry_date"
44+
],
45+
"licenseStatus": "open_license",
46+
"licenseDetails": "Open Government Licence v3.0"
47+
},
48+
"meta": {
49+
"source": "https://github.com/OpenDataServices/org-ids/issues/67",
50+
"lastUpdated": "2017-04-06"
51+
},
52+
"links": {
53+
"opencorporates": "",
54+
"wikipedia": ""
55+
},
56+
"formerPrefixes": []
57+
}

codes/gb/gb-govuk.json

Lines changed: 43 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,45 @@
11
{
2-
"links": {
3-
"wikipedia": null,
4-
"opencorporates": null
5-
},
6-
"sector": null,
7-
"url": "https://www.gov.uk/government/organisations",
8-
"name": {
9-
"en": "UK Government Departments, Agencies & Public Bodies",
10-
"local": ""
11-
},
12-
"coverage": [
13-
"GB"
14-
],
15-
"code": "GB-GOVUK",
16-
"formerPrefixes": null,
17-
"confirmed": true,
18-
"data": {
19-
"features": null,
20-
"dataAccessDetails": null,
21-
"licenseDetails": null,
22-
"licenseStatus": null,
23-
"availability": null
24-
},
25-
"deprecated": null,
26-
"structure": [
27-
"government_agency"
28-
],
29-
"description": {
30-
"en": "Use the final segment of the url (below /organisations) as the \"registration number\", converting all \"-\" to \"_\". Keep \"registration number\" portion all lowercase."
31-
},
32-
"meta": {
33-
"lastUpdated": null,
34-
"source": null
35-
},
36-
"access": {
37-
"languages": null,
38-
"exampleIdentifiers": null,
39-
"onlineAccessDetails": null,
40-
"publicDatabase": null,
41-
"availableOnline": false,
42-
"guidanceOnLocatingIds": null
43-
},
44-
"subnationalCoverage": null,
45-
"listType": "secondary"
2+
"name": {
3+
"en": "GOV.UK - UK Government Departments, Agencies & Public Bodies",
4+
"local": ""
5+
},
6+
"url": "https://www.gov.uk/government/organisations",
7+
"description": {
8+
"en": "This list is deprecated in favour of GB-GOR, the Government Organisation Registry which assigns a unique code to each agency with a page at www.gov.uk.\n\nTo construct a legacy GB-GOVUK identifier, use the final segment of the url of a body at http://www.gov.uk (below /organisations) as the \"registration number\", converting all \"-\" to \"_\". Keep \"registration number\" portion all lowercase.\n\nIt should be possible to map form GB-GOVUK to GB-GOR identifiers. "
9+
},
10+
"coverage": [
11+
"GB"
12+
],
13+
"subnationalCoverage": [],
14+
"structure": [
15+
"government_agency"
16+
],
17+
"sector": [],
18+
"code": "GB-GOVUK",
19+
"confirmed": true,
20+
"deprecated": true,
21+
"listType": "secondary",
22+
"access": {
23+
"availableOnline": false,
24+
"onlineAccessDetails": null,
25+
"publicDatabase": "",
26+
"guidanceOnLocatingIds": "",
27+
"exampleIdentifiers": "",
28+
"languages": []
29+
},
30+
"data": {
31+
"availability": [],
32+
"dataAccessDetails": "",
33+
"features": [],
34+
"licenseDetails": ""
35+
},
36+
"meta": {
37+
"source": "",
38+
"lastUpdated": ""
39+
},
40+
"links": {
41+
"opencorporates": "",
42+
"wikipedia": ""
43+
},
44+
"formerPrefixes": []
4645
}

codes/gb/gb-lae.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"name": {
3+
"en": "Local Authorities for England Register",
4+
"local": ""
5+
},
6+
"url": "http://local-authority-eng.alpha.openregister.org/records",
7+
"description": {
8+
"en": "The Local Authorities for England Register has been developed with the UK Department for Communities and Local Government (DCLG), and contains identifiers for 350+ local authorities. \n\nIt uses the second portion of '[ISO_3166-2](https://en.wikipedia.org/wiki/ISO_3166-2:GB)' codes where these are available, and creates new codes where they are not. "
9+
},
10+
"coverage": [
11+
"GB"
12+
],
13+
"subnationalCoverage": [
14+
"GB-ENG"
15+
],
16+
"structure": [
17+
"government_agency/local_government"
18+
],
19+
"sector": [],
20+
"code": "GB-LAE",
21+
"confirmed": true,
22+
"deprecated": false,
23+
"listType": "secondary",
24+
"access": {
25+
"availableOnline": true,
26+
"onlineAccessDetails": null,
27+
"publicDatabase": "http://local-authority-eng.alpha.openregister.org/",
28+
"guidanceOnLocatingIds": "Look for the value of the 'Local-authority-eng' field. ",
29+
"exampleIdentifiers": "WOT, BAS, GED",
30+
"languages": [
31+
"en"
32+
]
33+
},
34+
"data": {
35+
"availability": [
36+
"api",
37+
"bulk",
38+
"csv",
39+
"json",
40+
"rdf"
41+
],
42+
"dataAccessDetails": "",
43+
"features": [
44+
"date_of_registration",
45+
"expiry_date",
46+
"status"
47+
],
48+
"licenseStatus": "open_license",
49+
"licenseDetails": "Open Government Licence v3.0"
50+
},
51+
"meta": {
52+
"source": "https://github.com/OpenDataServices/org-ids/issues/67",
53+
"lastUpdated": "2017-04-06"
54+
},
55+
"links": {
56+
"opencorporates": "",
57+
"wikipedia": ""
58+
},
59+
"formerPrefixes": []
60+
}

0 commit comments

Comments
 (0)