Closed andylolz closed 5 years ago
I need to verify with the BAs that this does not produce undesirable side effects or compatibility issues (possibly an irrelevant concernm, but helpful for me to understand), but it's a valid improvement! I'll get back to you as soon as I chatted with one of them 👍
This is GREAT. Thanks so much for the swift response!
¡…Scope creep alert…! Would also be pretty easy to pull in local short names, too. E.g. for Afghanistan, ISO have it in Farsi and Pashto: https://www.iso.org/obp/ui/#iso:code:3166:AF
(but happy to park that for now!)
Had a brief chat with the BAs, they won't have time to properly check this before tomorrow morning, so let's hold this for now (although I don't see any reason why it would get pushed back even after further investigations)!
Excellent – sounds positive :)
I dont now why, but it's always been so: http://reference.iatistandard.org/101/codelists/country/index.html !
Thanks, Steven! I guess it’s possible ISO didn’t provide lower case short names in 2012… That would be one explanation, but I’d be surprised if that were the case.
From our point of view there is no reason why the codelist should not be changed to the lowercase version of ISO 3166 as suggested in this Github issue.
@andylolz we will accept a pull request making these changes (thank you for the suggestion!). If you are happy to add the pull request, we will then review and merge. The changelog would also require an update. We also need a post on Discus to inform the community.
we will accept a pull request making these changes
Thanks @PetyaKangalova.
If you are happy to add the pull request, we will then review and merge.
Great – it’s here: #274.
The changelog would also require an update. We also need a post on Discus to inform the community.
Yes, that’s true. Do you want me to do this stuff? I can create a discuss post / send a pull request to update the changelog if needed. UPDATE: discuss post created.
Fixed, merged, deployed! 🌟
I.e.:
ISO 3166 provides a lowercased version of the short name, e.g.: https://www.iso.org/obp/ui/#iso:code:3166:BJ
All caps is inconsistent with (I think?) every other IATI codelist, and makes this codelist significantly less useful. For instance, d-portal doesn’t use this version of the country codelist, for exactly this reason. See: https://github.com/devinit/D-Portal/issues/452#issuecomment-374399411
Would you accept a pull request that switches these to use the ISO-3166 short name lowercased versions? Thanks.