Skip to content

Commit

Permalink
Regenerate
Browse files Browse the repository at this point in the history
* rename `Netherlands` -> `Netherlands, Kingdom of the`
* move subdivisions in belgium directly into it, not in `BE-WAL`, `BE-VLG`
* rename a bunch of subdivisions in TD
  • Loading branch information
wooorm committed Nov 1, 2023
1 parent 7bb81cc commit 0487395
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 37 deletions.
2 changes: 1 addition & 1 deletion 1.js
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ export const iso31661 = [
numeric: '558'
},
{
name: 'Netherlands',
name: 'Netherlands, Kingdom of the',
state: 'assigned',
alpha2: 'NL',
alpha3: 'NLD',
Expand Down
70 changes: 35 additions & 35 deletions 2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1533,12 +1533,12 @@ export const iso31662 = [
{
code: 'BE-VAN',
name: 'Antwerpen',
parent: 'BE-VLG'
parent: 'BE'
},
{
code: 'BE-VBR',
name: 'Vlaams-Brabant',
parent: 'BE-VLG'
parent: 'BE'
},
{
code: 'BE-VLG',
Expand All @@ -1548,17 +1548,17 @@ export const iso31662 = [
{
code: 'BE-VLI',
name: 'Limburg',
parent: 'BE-VLG'
parent: 'BE'
},
{
code: 'BE-VOV',
name: 'Oost-Vlaanderen',
parent: 'BE-VLG'
parent: 'BE'
},
{
code: 'BE-VWV',
name: 'West-Vlaanderen',
parent: 'BE-VLG'
parent: 'BE'
},
{
code: 'BE-WAL',
Expand All @@ -1568,27 +1568,27 @@ export const iso31662 = [
{
code: 'BE-WBR',
name: 'Brabant wallon',
parent: 'BE-WAL'
parent: 'BE'
},
{
code: 'BE-WHT',
name: 'Hainaut',
parent: 'BE-WAL'
parent: 'BE'
},
{
code: 'BE-WLG',
name: 'Liège',
parent: 'BE-WAL'
parent: 'BE'
},
{
code: 'BE-WLX',
name: 'Luxembourg',
parent: 'BE-WAL'
parent: 'BE'
},
{
code: 'BE-WNA',
name: 'Namur',
parent: 'BE-WAL'
parent: 'BE'
},
{
code: 'BF-01',
Expand Down Expand Up @@ -17202,7 +17202,7 @@ export const iso31662 = [
},
{
code: 'NR-05',
name: 'Baitsi (local variant is Baiti)',
name: 'Baitsi',
parent: 'NR'
},
{
Expand Down Expand Up @@ -18167,7 +18167,7 @@ export const iso31662 = [
},
{
code: 'PH-WSA',
name: 'Samar (local variant: Western Samar)',
name: 'Samar',
parent: 'PH-08'
},
{
Expand Down Expand Up @@ -21622,117 +21622,117 @@ export const iso31662 = [
},
{
code: 'TD-BA',
name: 'Al Baţḩā’',
name: 'Batha',
parent: 'TD'
},
{
code: 'TD-BG',
name: 'Baḩr al Ghazāl',
name: 'Bahr el Ghazal',
parent: 'TD'
},
{
code: 'TD-BO',
name: 'Būrkū',
name: 'Borkou',
parent: 'TD'
},
{
code: 'TD-CB',
name: 'Shārī Bāqirmī',
name: 'Chari-Baguirmi',
parent: 'TD'
},
{
code: 'TD-EE',
name: 'Inīdī ash Sharqī',
name: 'Ennedi-Est',
parent: 'TD'
},
{
code: 'TD-EO',
name: 'Inīdī al Gharbī',
name: 'Ennedi-Ouest',
parent: 'TD'
},
{
code: 'TD-GR',
name: 'Qīrā',
name: 'Guéra',
parent: 'TD'
},
{
code: 'TD-HL',
name: 'Ḩajjar Lamīs',
name: 'Hadjer Lamis',
parent: 'TD'
},
{
code: 'TD-KA',
name: 'Kānim',
name: 'Kanem',
parent: 'TD'
},
{
code: 'TD-LC',
name: 'Al Buḩayrah',
name: 'Lac',
parent: 'TD'
},
{
code: 'TD-LO',
name: 'Lūghūn al Gharbī',
name: 'Logone-Occidental',
parent: 'TD'
},
{
code: 'TD-LR',
name: 'Lūghūn ash Sharqī',
name: 'Logone-Oriental',
parent: 'TD'
},
{
code: 'TD-MA',
name: 'Māndūl',
name: 'Mandoul',
parent: 'TD'
},
{
code: 'TD-MC',
name: 'Shārī al Awsaţ',
name: 'Moyen-Chari',
parent: 'TD'
},
{
code: 'TD-ME',
name: 'Māyū Kībbī ash Sharqī',
name: 'Mayo-Kebbi-Est',
parent: 'TD'
},
{
code: 'TD-MO',
name: 'Māyū Kībbī al Gharbī',
name: 'Mayo-Kebbi-Ouest',
parent: 'TD'
},
{
code: 'TD-ND',
name: 'Madīnat Injamīnā',
name: 'Ville de Ndjamena',
parent: 'TD'
},
{
code: 'TD-OD',
name: 'Waddāy',
name: 'Ouaddaï',
parent: 'TD'
},
{
code: 'TD-SA',
name: 'Salāmāt',
name: 'Salamat',
parent: 'TD'
},
{
code: 'TD-SI',
name: 'Sīlā',
name: 'Sila',
parent: 'TD'
},
{
code: 'TD-TA',
name: 'Tānjīlī',
name: 'Tandjilé',
parent: 'TD'
},
{
code: 'TD-TI',
name: 'Tibastī',
name: 'Tibesti',
parent: 'TD'
},
{
code: 'TD-WF',
name: 'Wādī Fīrā’',
name: 'Wadi Fira',
parent: 'TD'
},
{
Expand Down
2 changes: 2 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,8 @@ function clean(d) {
return d
.replace(/\[[^\]]+]/g, '')
.replace(/\(i\.e\., [^\]]+\)/g, '')
.replace(/†$/g, '')
.replace(/\(local variant[^)]*\)/g, '')
.replace(/\s+/g, ($0) => ($0.includes('\n') ? '\n' : ' '))
.trim()
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ UN M49 also encodes regions bigger than countries, such as (sub)contintents.
<td title="Nicaragua"><a href="https://en.wikipedia.org/wiki/ISO_3166-1:NI">NI</a></td>
<td>NJ</td>
<td>NK</td>
<td title="Netherlands"><a href="https://en.wikipedia.org/wiki/ISO_3166-1:NL">NL</a></td>
<td title="Netherlands, Kingdom of the"><a href="https://en.wikipedia.org/wiki/ISO_3166-1:NL">NL</a></td>
<td>NM</td>
<td>NN</td>
<td title="Norway"><a href="https://en.wikipedia.org/wiki/ISO_3166-1:NO">NO</a></td>
Expand Down

0 comments on commit 0487395

Please sign in to comment.