Skip to content

Feature/data updates#49

Merged
frankodoom merged 19 commits into
masterfrom
feature/data-updates
Feb 12, 2026
Merged

Feature/data updates#49
frankodoom merged 19 commits into
masterfrom
feature/data-updates

Conversation

@frankodoom
Copy link
Copy Markdown
Owner

Update country data to ISO 3166-1 and ISO 4217 standards

Country name updates (ISO 3166-1):

  • Swaziland -> Eswatini (2018)
  • Macedonia, Republic of -> North Macedonia (2019)
  • Turkey -> Türkiye (2022)
  • Czech Republic -> Czechia
  • Cape Verde -> Cabo Verde

Currency fixes (ISO 4217):

  • North Korea (KP): Added KPW currency code
  • Venezuela (VE): VEF -> VES (Bolívar Soberano, 2018)
  • Tokelau (TK): Added NZD currency code
  • U.S. Virgin Islands (VI): Added USD currency
  • Heard Island (HM): Added AUD currency"
    ow committed to the feature/data-updates branch. Would you like me to push this branch to the remote?

Clifftech123 and others added 4 commits November 12, 2024 12:58
Refactored the Program class by moving the using directive for CountryData.Standard to the top, removing the namespace declaration, and adding a summary comment. Changed the Program class to a top-level static class and moved the CountryHelper instance to the top as private static readonly. Refactored the Main method and various other methods to demonstrate the use of the CountryData library. Added a new method GetAllCurrencyCodesByCountryCode.

Reformatted the Currency class in Currency.cs and corrected the indentation.

Updated data.json to replace empty currency codes and names with "null", added new entries for "Antarctica" and "Antigua and Barbuda", and corrected the formatting for consistency.
Country name updates (ISO 3166-1):
- Swaziland -> Eswatini (2018)
- Macedonia, Republic of -> North Macedonia (2019)
- Turkey -> Türkiye (2022)
- Czech Republic -> Czechia
- Cape Verde -> Cabo Verde

Currency fixes (ISO 4217):
- North Korea (KP): Added KPW currency code
- Venezuela (VE): VEF -> VES (Bolívar Soberano, 2018)
- Tokelau (TK): Added NZD currency code
- U.S. Virgin Islands (VI): Added USD currency
- Heard Island (HM): Added AUD currency
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request attempts to update country data to ISO 3166-1 and ISO 4217 standards, including country name changes (Swaziland → Eswatini, Macedonia → North Macedonia, Turkey → Türkiye, etc.) and currency code updates. However, the changes contain numerous critical data corruption issues that prevent the JSON from being valid.

Changes:

  • Country name updates for compliance with ISO 3166-1 standards
  • Currency code additions and updates for ISO 4217 compliance
  • Code formatting changes in Currency.cs and Program.cs

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 18 comments.

File Description
src/CountryData.Standard/data.json Attempted country and currency data updates, but contains severe JSON corruption throughout
src/CountryData.Standard/Currency.cs Minor whitespace formatting adjustments
sample/CountryData.Sample.Console/Program.cs Code restructuring and addition of new method with typo

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/CountryData.Standard/data.json Outdated
Comment thread src/CountryData.Standard/data.json Outdated
Comment thread sample/CountryData.Sample.Console/Program.cs Outdated
Comment thread src/CountryData.Standard/data.json Outdated
Comment thread src/CountryData.Standard/data.json Outdated
Comment thread src/CountryData.Standard/data.json Outdated
Comment thread src/CountryData.Standard/data.json Outdated
Comment thread src/CountryData.Standard/data.json Outdated
Comment thread src/CountryData.Standard/data.json Outdated
Comment thread sample/CountryData.Sample.Console/Program.cs Outdated
frankodoom and others added 10 commits January 22, 2026 07:49
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 22, 2026

@frankodoom I've opened a new pull request, #50, to work on those changes. Once the pull request is ready, I'll request review from you.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@frankodoom
Copy link
Copy Markdown
Owner Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 22, 2026

@frankodoom I've opened a new pull request, #51, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 3 commits January 22, 2026 07:59
…esByCountryCode

Co-authored-by: frankodoom <10815235+frankodoom@users.noreply.github.com>
[WIP] Update country and currency data to ISO standards
[WIP] Update data updates based on feedback in original PR
@frankodoom frankodoom merged commit 9b6cae9 into master Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants