Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supply canonical list of ISO 3166-1 country codes used #2559

Closed
iamleeg opened this issue Feb 28, 2022 · 5 comments
Closed

Supply canonical list of ISO 3166-1 country codes used #2559

iamleeg opened this issue Feb 28, 2022 · 5 comments
Assignees
Labels
API Documentation Bug relates to documentation which needs updating or revieiwng ISO3166 Relating to transition to ISO 3166 two letter country codes P1: Launch blocker Needs fixing before we launch, schedule some time to investigate & fix
Milestone

Comments

@iamleeg
Copy link
Contributor

iamleeg commented Feb 28, 2022

[8:06 AM] Lol. Well my next suggestion was going to be to supply a list of available country codes 🙂

Currently we have a lot of different sources: a JS library, a Python library, and some workarounds for country names that Mapbox uses that neither of those recognise. Would be good to build a list of the country codes we use with maps to the name. Best would be to do this in Python and R as part of our API libraries.

@iamleeg iamleeg added Documentation Bug relates to documentation which needs updating or revieiwng API ISO3166 Relating to transition to ISO 3166 two letter country codes labels Feb 28, 2022
@iamleeg iamleeg added this to the Koa milestone Feb 28, 2022
@joe-brilliant joe-brilliant added the P1: Launch blocker Needs fixing before we launch, schedule some time to investigate & fix label Feb 28, 2022
@abhidg
Copy link
Contributor

abhidg commented Feb 28, 2022

The current documentation links to the Wikipedia entry on ISO 3166 codes which has a comprehensive list.

@joe-brilliant
Copy link

I think we can closer this @iamleeg @abhidg ?

@iamleeg
Copy link
Contributor Author

iamleeg commented Mar 11, 2022

No, the wikipedia list is not sufficient.

Would be good to build a list of the country codes we use with maps to the name.

This won't include all of the weird workarounds we have for Mapbox (e.g. it uses "United States" for country US, which most libraries don't use because it's ambiguous with "United States Minor Outlying Islands" when you're searching), and the names otherwise might not be the same as the ones we use. We actually have to prepare a list of the country codes we use and map them to the names of the countries we use.

@joe-brilliant
Copy link

Duly noted; thanks for the clarification + explanation @iamleeg !

iamleeg added a commit that referenced this issue Mar 14, 2022
iamleeg added a commit that referenced this issue Mar 14, 2022
iamleeg added a commit that referenced this issue Mar 17, 2022
Would work, if not for the mongo perf issues
iamleeg added a commit that referenced this issue Mar 17, 2022
iamleeg added a commit that referenced this issue Apr 19, 2022
… updates #2559

Also add general request and error logging at the top level
iamleeg added a commit that referenced this issue Apr 19, 2022
This puts us onto the current LTS release of node in curator-service.

An alternative was to update to mongo 4.3+ but that meant updating typescript too
iamleeg added a commit that referenced this issue Apr 19, 2022
iamleeg added a commit that referenced this issue Apr 19, 2022
iamleeg added a commit that referenced this issue Apr 19, 2022
iamleeg added a commit that referenced this issue Apr 19, 2022
iamleeg added a commit that referenced this issue Apr 19, 2022
… updates #2559

Also add general request and error logging at the top level
iamleeg added a commit that referenced this issue Apr 19, 2022
This puts us onto the current LTS release of node in curator-service.

An alternative was to update to mongo 4.3+ but that meant updating typescript too
@joe-brilliant joe-brilliant modified the milestones: Devi, Agnes Apr 29, 2022
@joe-brilliant joe-brilliant modified the milestones: Agnes, Oberon Jun 7, 2022
@joe-brilliant
Copy link

@abhidg please close if this has been deployed

@abhidg abhidg closed this as completed Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Documentation Bug relates to documentation which needs updating or revieiwng ISO3166 Relating to transition to ISO 3166 two letter country codes P1: Launch blocker Needs fixing before we launch, schedule some time to investigate & fix
Projects
None yet
Development

No branches or pull requests

3 participants