You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ISO and translation for Cork Country in Ireland seems invalid.
Cork ISO is CO not C.
And the english translation is not Connacht, it's Cork.
Connacht is a province in Ireland, not a county.
Reference: https://www.wikidata.org/wiki/Q162475
Github: IE.yaml
I am trying to populate my DB for Ireland states. Following is my code:
iso = 'IE'
country = ISO3166::Country.new(iso)
states = country.states.select { |_iso, data| data.name.present? }.map do |iso, s|
{ iso: iso, name: s['translations']['en'] }
end
Following is the response. My issue is that Connacht should not be present in this list as it is a province instead of a county. Please do correct me if I’m doing something wrong.
The ISO and translation for Cork Country in Ireland seems invalid.
Cork ISO is CO not C.
And the english translation is not Connacht, it's Cork.
Connacht is a province in Ireland, not a county.
Reference: https://www.wikidata.org/wiki/Q162475
Github: IE.yaml
I am trying to populate my DB for Ireland states. Following is my code:
Following is the response. My issue is that Connacht should not be present in this list as it is a province instead of a county. Please do correct me if I’m doing something wrong.
The text was updated successfully, but these errors were encountered: