diff --git a/changelog.d/local-authority-2023-unitaries.added.md b/changelog.d/local-authority-2023-unitaries.added.md new file mode 100644 index 0000000000..5fdc468908 --- /dev/null +++ b/changelog.d/local-authority-2023-unitaries.added.md @@ -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. diff --git a/policyengine_uk/variables/household/demographic/locations.py b/policyengine_uk/variables/household/demographic/locations.py index 0c67fb0046..2b96b369e9 100644 --- a/policyengine_uk/variables/household/demographic/locations.py +++ b/policyengine_uk/variables/household/demographic/locations.py @@ -295,6 +295,7 @@ class LocalAuthority(Enum): CRAVEN = "Craven" CRAWLEY = "Crawley" CROYDON = "Croydon" + CUMBERLAND = "Cumberland" DACORUM = "Dacorum" DARLINGTON = "Darlington" DARTFORD = "Dartford" @@ -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" @@ -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" @@ -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"