From 8c4d770b8a8b327f6a5a5fb61f52f54447eac81c Mon Sep 17 00:00:00 2001 From: chris48s Date: Thu, 11 Jul 2019 16:53:37 +0100 Subject: [PATCH] update UK Combined Authorities --- identifiers/country-uk.csv | 3 ++- identifiers/country-uk/combined_authorities.csv | 3 ++- scripts/country-uk/data.py | 8 ++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/identifiers/country-uk.csv b/identifiers/country-uk.csv index ca7270ed..d49f4001 100644 --- a/identifiers/country-uk.csv +++ b/identifiers/country-uk.csv @@ -3,7 +3,8 @@ ocd-division/country:uk,United Kingdom,K02000001 ocd-division/country:uk/cauth:cambridgeshire_and_peterborough,Cambridgeshire and Peterborough,E47000008 ocd-division/country:uk/cauth:greater_manchester,Greater Manchester,E47000001 ocd-division/country:uk/cauth:liverpool_city_region,Liverpool City Region,E47000004 -ocd-division/country:uk/cauth:north_east,North East,E47000005 +ocd-division/country:uk/cauth:north_east,North East,E47000010 +ocd-division/country:uk/cauth:north_of_tyne,North of Tyne,E47000011 ocd-division/country:uk/cauth:sheffield_city_region,Sheffield City Region,E47000002 ocd-division/country:uk/cauth:tees_valley,Tees Valley,E47000006 ocd-division/country:uk/cauth:west_midlands,West Midlands,E47000007 diff --git a/identifiers/country-uk/combined_authorities.csv b/identifiers/country-uk/combined_authorities.csv index e023c765..db04780e 100644 --- a/identifiers/country-uk/combined_authorities.csv +++ b/identifiers/country-uk/combined_authorities.csv @@ -3,8 +3,9 @@ ocd-division/country:uk/cauth:greater_manchester,Greater Manchester,E47000001 ocd-division/country:uk/cauth:sheffield_city_region,Sheffield City Region,E47000002 ocd-division/country:uk/cauth:west_yorkshire,West Yorkshire,E47000003 ocd-division/country:uk/cauth:liverpool_city_region,Liverpool City Region,E47000004 -ocd-division/country:uk/cauth:north_east,North East,E47000005 ocd-division/country:uk/cauth:tees_valley,Tees Valley,E47000006 ocd-division/country:uk/cauth:west_midlands,West Midlands,E47000007 ocd-division/country:uk/cauth:cambridgeshire_and_peterborough,Cambridgeshire and Peterborough,E47000008 ocd-division/country:uk/cauth:west_of_england,West of England,E47000009 +ocd-division/country:uk/cauth:north_east,North East,E47000010 +ocd-division/country:uk/cauth:north_of_tyne,North of Tyne,E47000011 diff --git a/scripts/country-uk/data.py b/scripts/country-uk/data.py index c8d4745c..e9373f61 100644 --- a/scripts/country-uk/data.py +++ b/scripts/country-uk/data.py @@ -51,10 +51,10 @@ # Combined Authorities have a directly elected regional Mayor cauth = { - # data from: http://geoportal.statistics.gov.uk/datasets/combined-authorities-march-2017-full-extent-boundaries-in-england - 'url': 'https://opendata.arcgis.com/datasets/89f12fc184d045a1a7ca9dd14fb4df3e_1.csv', - 'gss_column': 'cauth17cd', - 'name_column': 'cauth17nm', + # data from: https://geoportal.statistics.gov.uk/datasets/combined-authorities-december-2018-names-and-codes-in-england-v2 + 'url': 'https://opendata.arcgis.com/datasets/f64d954dc95744689194625dece0c643_0.csv', + 'gss_column': 'CAUTH18CD', + 'name_column': 'CAUTH18NM', 'prefix': 'cauth', 'filename': 'combined_authorities.csv' }