Skip to content

Commit

Permalink
update Luxembourg subdivision codes
Browse files Browse the repository at this point in the history
  • Loading branch information
RJKeevil committed Sep 11, 2024
1 parent 4fa4808 commit 592980f
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 0 deletions.
60 changes: 60 additions & 0 deletions data/iso-codes/data_iso_3166-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -13571,6 +13571,66 @@
"name": "Luxembourg",
"type": "District"
},
{
"code": "LU-CA",
"name": "Capellen",
"type": "District"
},
{
"code": "LU-CL",
"name": "Clervaux",
"type": "District"
},
{
"code": "LU-DI",
"name": "Diekirch",
"type": "District"
},
{
"code": "LU-EC",
"name": "Echternach",
"type": "District"
},
{
"code": "LU-ES",
"name": "Esch-sur-Alzette",
"type": "District"
},
{
"code": "LU-GR",
"name": "Grevenmacher",
"type": "District"
},
{
"code": "LU-LU",
"name": "Luxembourg",
"type": "District"
},
{
"code": "LU-ME",
"name": "Mersch",
"type": "District"
},
{
"code": "LU-RD",
"name": "Redange",
"type": "District"
},
{
"code": "LU-RM",
"name": "Remich",
"type": "District"
},
{
"code": "LU-VD",
"name": "Vianden",
"type": "District"
},
{
"code": "LU-WI",
"name": "Wiltz",
"type": "District"
},
{
"code": "LV-001",
"name": "Aglonas novads",
Expand Down
84 changes: 84 additions & 0 deletions subdivisions.go
Original file line number Diff line number Diff line change
Expand Up @@ -5068,6 +5068,30 @@ func (s SubdivisionCode) String() string { //nolint:cyclop,gocyclo
return "Grevenmacher"
case SubdivisionLUL:
return "Luxembourg"
case SubdivisionLUCA:
return "Capellen"
case SubdivisionLUCL:
return "Clervaux"
case SubdivisionLUDI, SubdivisionLUD:
return "Diekirch"
case SubdivisionLUEC:
return "Echternach"
case SubdivisionLUES:
return "Esch-sur-Alzette"
case SubdivisionLUGR, SubdivisionLUG:
return "Grevenmacher"
case SubdivisionLULU, SubdivisionLUL:
return "Luxembourg"
case SubdivisionLUME:
return "Mersch"
case SubdivisionLURD:
return "Redange"
case SubdivisionLURM:
return "Remich"
case SubdivisionLUVD:
return "Vianden"
case SubdivisionLUWI:
return "Wiltz"
case SubdivisionLV001:
return "Aglonas novads"
case SubdivisionLV002:
Expand Down Expand Up @@ -14845,6 +14869,30 @@ func (s SubdivisionCode) Country() CountryCode {
return LU
case SubdivisionLUL:
return LU
case SubdivisionLUCA:
return LU
case SubdivisionLUCL:
return LU
case SubdivisionLUDI:
return LU
case SubdivisionLUEC:
return LU
case SubdivisionLUES:
return LU
case SubdivisionLUGR:
return LU
case SubdivisionLULU:
return LU
case SubdivisionLUME:
return LU
case SubdivisionLURD:
return LU
case SubdivisionLURM:
return LU
case SubdivisionLUVD:
return LU
case SubdivisionLUWI:
return LU
case SubdivisionLV001:
return LV
case SubdivisionLV002:
Expand Down Expand Up @@ -24637,6 +24685,30 @@ func (s SubdivisionCode) SubdivisionType() SubdivisionTypeCode {
return SubdivisionTypeDistrict
case SubdivisionLUL:
return SubdivisionTypeDistrict
case SubdivisionLUCA:
return SubdivisionTypeDistrict
case SubdivisionLUCL:
return SubdivisionTypeDistrict
case SubdivisionLUDI:
return SubdivisionTypeDistrict
case SubdivisionLUEC:
return SubdivisionTypeDistrict
case SubdivisionLUES:
return SubdivisionTypeDistrict
case SubdivisionLUGR:
return SubdivisionTypeDistrict
case SubdivisionLULU:
return SubdivisionTypeDistrict
case SubdivisionLUME:
return SubdivisionTypeDistrict
case SubdivisionLURD:
return SubdivisionTypeDistrict
case SubdivisionLURM:
return SubdivisionTypeDistrict
case SubdivisionLUVD:
return SubdivisionTypeDistrict
case SubdivisionLUWI:
return SubdivisionTypeDistrict
case SubdivisionLV001:
return SubdivisionTypeMunicipality
case SubdivisionLV002:
Expand Down Expand Up @@ -31917,9 +31989,21 @@ func AllSubdivisions() []SubdivisionCode {
SubdivisionLTTE,
SubdivisionLTUT,
SubdivisionLTVL,
SubdivisionLUCA,
SubdivisionLUCA,
SubdivisionLUD,
SubdivisionLUG,
SubdivisionLUL,
SubdivisionLUDI,
SubdivisionLUEC,
SubdivisionLUES,
SubdivisionLUGR,
SubdivisionLULU,
SubdivisionLUME,
SubdivisionLURD,
SubdivisionLURM,
SubdivisionLUVD,
SubdivisionLUWI,
SubdivisionLV001,
SubdivisionLV002,
SubdivisionLV003,
Expand Down
27 changes: 27 additions & 0 deletions subdivisionsconst.go
Original file line number Diff line number Diff line change
Expand Up @@ -5051,11 +5051,38 @@ const (
// SubdivisionLTVL SubdivisionCode = "LT-VL"
SubdivisionLTVL SubdivisionCode = "LT-VL"
// SubdivisionLUD SubdivisionCode = "LU-D"
// Deprecated, replaced by [SubdivisionLUDI]
SubdivisionLUD SubdivisionCode = "LU-D"
// SubdivisionLUG SubdivisionCode = "LU-G"
// Deprecated, replaced by [SubdivisionLUGR]
SubdivisionLUG SubdivisionCode = "LU-G"
// SubdivisionLUL SubdivisionCode = "LU-L"
// Deprecated, replaced by [SubdivisionLULU]
SubdivisionLUL SubdivisionCode = "LU-L"
// SubdivisionLUCA SubdivisionCode = "LU-CA"
SubdivisionLUCA SubdivisionCode = "LU-CA"
// SubdivisionLUCL SubdivisionCode = "LU-CL"
SubdivisionLUCL SubdivisionCode = "LU-CL"
// SubdivisionLUDI SubdivisionCode = "LU-DI"
SubdivisionLUDI SubdivisionCode = "LU-DI"
// SubdivisionLUEC SubdivisionCode = "LU-EC"
SubdivisionLUEC SubdivisionCode = "LU-EC"
// SubdivisionLUES SubdivisionCode = "LU-ES"
SubdivisionLUES SubdivisionCode = "LU-ES"
// SubdivisionLUGR SubdivisionCode = "LU-GR"
SubdivisionLUGR SubdivisionCode = "LU-GR"
// SubdivisionLULU SubdivisionCode = "LU-LU"
SubdivisionLULU SubdivisionCode = "LU-LU"
// SubdivisionLUME SubdivisionCode = "LU-ME"
SubdivisionLUME SubdivisionCode = "LU-ME"
// SubdivisionLURD SubdivisionCode = "LU-RD"
SubdivisionLURD SubdivisionCode = "LU-RD"
// SubdivisionLURM SubdivisionCode = "LU-GR"
SubdivisionLURM SubdivisionCode = "LU-RM"
// SubdivisionLUVD SubdivisionCode = "LU-VD"
SubdivisionLUVD SubdivisionCode = "LU-VD"
// SubdivisionLUWI SubdivisionCode = "LU-WI"
SubdivisionLUWI SubdivisionCode = "LU-WI"
// SubdivisionLV001 SubdivisionCode = "LV-001"
SubdivisionLV001 SubdivisionCode = "LV-001"
// SubdivisionLV002 SubdivisionCode = "LV-002"
Expand Down

0 comments on commit 592980f

Please sign in to comment.