Skip to content

Commit

Permalink
🎨 (countriesAndState.js) remove federal districts from USA states (#198)
Browse files Browse the repository at this point in the history
Closes #181
  • Loading branch information
MartinsOnuoha authored Nov 27, 2024
1 parent cad6ded commit 2d0dbfd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 159 deletions.
91 changes: 1 addition & 90 deletions model/countriesAndState.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,15 +675,6 @@ const CountriesState = [
},
],
},
{
name: 'American Samoa',
iso3: 'ASM',
iso2: 'AS',
phone_code: '+1-684',
capital: 'Pago Pago',
currency: 'USD',
states: [],
},
{
name: 'Andorra',
iso3: 'AND',
Expand Down Expand Up @@ -24275,7 +24266,7 @@ const CountriesState = [
currency: 'USD',
states: [
{
id: 1456,
id: '1456',
name: 'Alabama',
state_code: 'AL',
},
Expand All @@ -24284,11 +24275,6 @@ const CountriesState = [
name: 'Alaska',
state_code: 'AK',
},
{
id: 1424,
name: 'American Samoa',
state_code: 'AS',
},
{
id: 1434,
name: 'Arizona',
Expand All @@ -24299,11 +24285,6 @@ const CountriesState = [
name: 'Arkansas',
state_code: 'AR',
},
{
id: 1402,
name: 'Baker Island',
state_code: 'UM-81',
},
{
id: 1416,
name: 'California',
Expand All @@ -24324,11 +24305,6 @@ const CountriesState = [
name: 'Delaware',
state_code: 'DE',
},
{
id: 1437,
name: 'District of Columbia',
state_code: 'DC',
},
{
id: 1436,
name: 'Florida',
Expand All @@ -24339,21 +24315,11 @@ const CountriesState = [
name: 'Georgia',
state_code: 'GA',
},
{
id: 1412,
name: 'Guam',
state_code: 'GU',
},
{
id: 1411,
name: 'Hawaii',
state_code: 'HI',
},
{
id: 1398,
name: 'Howland Island',
state_code: 'UM-84',
},
{
id: 1460,
name: 'Idaho',
Expand All @@ -24374,16 +24340,6 @@ const CountriesState = [
name: 'Iowa',
state_code: 'IA',
},
{
id: 1410,
name: 'Jarvis Island',
state_code: 'UM-86',
},
{
id: 1428,
name: 'Johnston Atoll',
state_code: 'UM-67',
},
{
id: 1406,
name: 'Kansas',
Expand All @@ -24394,11 +24350,6 @@ const CountriesState = [
name: 'Kentucky',
state_code: 'KY',
},
{
id: 1403,
name: 'Kingman Reef',
state_code: 'UM-89',
},
{
id: 1457,
name: 'Louisiana',
Expand All @@ -24424,11 +24375,6 @@ const CountriesState = [
name: 'Michigan',
state_code: 'MI',
},
{
id: 1438,
name: 'Midway Atoll',
state_code: 'UM-71',
},
{
id: 1420,
name: 'Minnesota',
Expand All @@ -24449,11 +24395,6 @@ const CountriesState = [
name: 'Montana',
state_code: 'MT',
},
{
id: 1439,
name: 'Navassa Island',
state_code: 'UM-76',
},
{
id: 1408,
name: 'Nebraska',
Expand Down Expand Up @@ -24494,11 +24435,6 @@ const CountriesState = [
name: 'North Dakota',
state_code: 'ND',
},
{
id: 1431,
name: 'Northern Mariana Islands',
state_code: 'MP',
},
{
id: 4851,
name: 'Ohio',
Expand All @@ -24514,21 +24450,11 @@ const CountriesState = [
name: 'Oregon',
state_code: 'OR',
},
{
id: 1448,
name: 'Palmyra Atoll',
state_code: 'UM-95',
},
{
id: 1422,
name: 'Pennsylvania',
state_code: 'PA',
},
{
id: 1449,
name: 'Puerto Rico',
state_code: 'PR',
},
{
id: 1461,
name: 'Rhode Island',
Expand All @@ -24554,16 +24480,6 @@ const CountriesState = [
name: 'Texas',
state_code: 'TX',
},
{
id: 1432,
name: 'United States Minor Outlying Islands',
state_code: 'UM',
},
{
id: 1413,
name: 'United States Virgin Islands',
state_code: 'VI',
},
{
id: 1414,
name: 'Utah',
Expand All @@ -24579,11 +24495,6 @@ const CountriesState = [
name: 'Virginia',
state_code: 'VA',
},
{
id: 1405,
name: 'Wake Island',
state_code: 'UM-79',
},
{
id: 1462,
name: 'Washington',
Expand Down
10 changes: 0 additions & 10 deletions model/countriesAndUnicodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2389,16 +2389,6 @@ const CountriesAndUnicodes = [
Capital: '',
Continent: 'AN',
},
{
Iso2: 'AS',
Name: 'American Samoa',
Iso3: 'ASM',
Unicode: '🇦🇸',
Dial: '+1-684',
Currency: 'USD',
Capital: 'Pago Pago',
Continent: 'OC',
},
{
Iso2: 'AR',
Name: 'Argentina',
Expand Down
59 changes: 0 additions & 59 deletions model/countriesStateCity.js
Original file line number Diff line number Diff line change
Expand Up @@ -3746,16 +3746,6 @@ const data = [
}
]
},
{
"id": 5,
"name": "American Samoa",
"iso3": "ASM",
"iso2": "AS",
"phone_code": "+1-684",
"capital": "Pago Pago",
"currency": "USD",
"states": []
},
{
"id": 6,
"name": "Andorra",
Expand Down Expand Up @@ -748455,12 +748445,6 @@ const data = [
}
]
},
{
"id": 1424,
"name": "American Samoa",
"state_code": "AS",
"cities": []
},
{
"id": 1434,
"name": "Arizona",
Expand Down Expand Up @@ -751559,12 +751543,6 @@ const data = [
}
]
},
{
"id": 1402,
"name": "Baker Island",
"state_code": "UM-81",
"cities": []
},
{
"id": 1416,
"name": "California",
Expand Down Expand Up @@ -761535,43 +761513,6 @@ const data = [
}
]
},
{
"id": 1437,
"name": "District of Columbia",
"state_code": "DC",
"cities": [
{
"id": 111028,
"name": "Adams Morgan",
"latitude": "38.92150000",
"longitude": "-77.04220000"
},
{
"id": 112444,
"name": "Bloomingdale",
"latitude": "38.91678000",
"longitude": "-77.01137000"
},
{
"id": 113920,
"name": "Chevy Chase",
"latitude": "38.96400000",
"longitude": "-77.06776000"
},
{
"id": 126244,
"name": "Shaw",
"latitude": "38.91206000",
"longitude": "-77.02137000"
},
{
"id": 128587,
"name": "Washington, D.C.",
"latitude": "38.89511000",
"longitude": "-77.03637000"
}
]
},
{
"id": 1436,
"name": "Florida",
Expand Down

0 comments on commit 2d0dbfd

Please sign in to comment.