We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, It seems the region codes for Ivory Coast aren't compliant with the ISO-3166 syntax.
The expectation is to have a syntax like CI-XX but the result is like CI-XX-XX.
CI-XX
CI-XX-XX
Usage
const geojsonPlaces = require("geojson-places"); geojsonPlaces.getRegionsByCountryAlpha2('CI');
Result (only invalids)
[ { "country_a2": "CI", "region_code": "CI-CM-SC", "region_name": "Ivory Coast" }, { "country_a2": "CI", "region_code": "CI-MN-CV", "region_name": "Ivory Coast" }, { "country_a2": "CI", "region_code": "CI-BS-SO", "region_name": "Ivory Coast" }, { "country_a2": "CI", "region_code": "CI-SB-LA", "region_name": "Ivory Coast" }, { "country_a2": "CI", "region_code": "CI-LG-AB", "region_name": "Ivory Coast" }, { "country_a2": "CI", "region_code": "CI-SM-HS", "region_name": "Ivory Coast" }, { "country_a2": "CI", "region_code": "CI-AG-AV", "region_name": "Ivory Coast" }, { "country_a2": "CI", "region_code": "CI-NC-BG", "region_name": "Ivory Coast" }, { "country_a2": "CI", "region_code": "CI-MR-ZU", "region_name": "Ivory Coast" }, { "country_a2": "CI", "region_code": "CI-LC-TM", "region_name": "Ivory Coast" }, ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, It seems the region codes for Ivory Coast aren't compliant with the ISO-3166 syntax.
The expectation is to have a syntax like
CI-XX
but the result is likeCI-XX-XX
.Usage
Result (only invalids)
The text was updated successfully, but these errors were encountered: