mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-03 04:50:10 -04:00
dont include duplicate unitary districts
they're in both the local authority and County & Unitary Authority data sets, so we should only add them once. Keep the LA one so the ctyua19 dataset is only used for counties
This commit is contained in:
@@ -205,6 +205,10 @@ for feature in geojson.loads(ctyua19_filepath.read_text())['features']:
|
||||
|
||||
print('County/Unitary Authority', group_name) # noqa: T001
|
||||
|
||||
la_id = 'lad20-' + ctyua_id
|
||||
if repo.get_areas([la_id]):
|
||||
continue
|
||||
|
||||
group_id = "ctyua19-" + ctyua_id
|
||||
|
||||
feature, simple_feature = (
|
||||
|
||||
Reference in New Issue
Block a user