mledoze / countries

World countries in JSON, CSV, XML and Yaml. Any help is welcome!
https://mledoze.github.io/countries/
Open Data Commons Open Database License v1.0
5.93k stars 1.26k forks source link

cca2 in altSpellings #437

Closed ePascalC closed 2 years ago

ePascalC commented 2 years ago

Hi @mledoze, what is the reason to have the cca2 also in altSpellings? Is that from history or it has a sense for e.g. searching?

ePascalC commented 2 years ago

@mledoze Just checking if you have any idea?

mledoze commented 2 years ago

Sorry for the delay.

Yes it was meant for searching, but I guess that it's not very useful now because a smart search program could easily find a country based on various fields: name, cca2, cca3, altSpellings, etc.

I guess we could remove the cca2 code from altSpellings.