Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/local-authority-2023-unitaries.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Add the six April 2023 unitary authorities (Cumberland, North Northamptonshire, North Yorkshire, Somerset, West Northamptonshire, Westmorland and Furness) to the `LocalAuthority` enum, so a dataset on the April 2023 local authority roster can supply `local_authority` for every household.
6 changes: 6 additions & 0 deletions policyengine_uk/variables/household/demographic/locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ class LocalAuthority(Enum):
CRAVEN = "Craven"
CRAWLEY = "Crawley"
CROYDON = "Croydon"
CUMBERLAND = "Cumberland"
DACORUM = "Dacorum"
DARLINGTON = "Darlington"
DARTFORD = "Dartford"
Expand Down Expand Up @@ -438,10 +439,12 @@ class LocalAuthority(Enum):
NORTH_LANARKSHIRE = "North Lanarkshire"
NORTH_LINCOLNSHIRE = "North Lincolnshire"
NORTH_NORFOLK = "North Norfolk"
NORTH_NORTHAMPTONSHIRE = "North Northamptonshire"
NORTH_SOMERSET = "North Somerset"
NORTH_TYNESIDE = "North Tyneside"
NORTH_WARWICKSHIRE = "North Warwickshire"
NORTH_WEST_LEICESTERSHIRE = "North West Leicestershire"
NORTH_YORKSHIRE = "North Yorkshire"
NORTHAMPTON = "Northampton"
NORTHUMBERLAND = "Northumberland"
NORWICH = "Norwich"
Expand Down Expand Up @@ -493,6 +496,7 @@ class LocalAuthority(Enum):
SHROPSHIRE = "Shropshire"
SLOUGH = "Slough"
SOLIHULL = "Solihull"
SOMERSET = "Somerset"
SOMERSET_WEST_AND_TAUNTON = "Somerset West and Taunton"
SOUTH_AYRSHIRE = "South Ayrshire"
SOUTH_CAMBRIDGESHIRE = "South Cambridgeshire"
Expand Down Expand Up @@ -569,9 +573,11 @@ class LocalAuthority(Enum):
WEST_LANCASHIRE = "West Lancashire"
WEST_LINDSEY = "West Lindsey"
WEST_LOTHIAN = "West Lothian"
WEST_NORTHAMPTONSHIRE = "West Northamptonshire"
WEST_OXFORDSHIRE = "West Oxfordshire"
WEST_SUFFOLK = "West Suffolk"
WESTMINSTER = "Westminster"
WESTMORLAND_AND_FURNESS = "Westmorland and Furness"
WIGAN = "Wigan"
WILTSHIRE = "Wiltshire"
WINCHESTER = "Winchester"
Expand Down
Loading