dr5hn / countries-states-cities-database

🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, PSQL, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities
https://dr5hn.github.io/countries-states-cities-database/
Open Data Commons Open Database License v1.0
7.19k stars 2.52k forks source link

Why Antarctica is mentioned as a country? #588

Closed amitshree closed 1 week ago

amitshree commented 1 year ago

It seems Antarctica is a continent and not a country. What is the reason behind mention Antarctica as a country without any capital in the countries.json file?

Also, can continent name will also be added in the countries.json file? region and continent doesn't seem to be same for all countries.

dr5hn commented 1 year ago

Hello, thank you for bringing this issue to my attention. While the countries and continents are currently kept together in the countries.json file, I am planning to separate them and create a new continents.json file in the near future.

amitshree commented 1 year ago

@dr5hn I believe in country api only countries should be present.

I see "Jamaica" and "Norfolk Island" are mentioned as country and both of them has same capital name "Kingston" which is causing some issue in my app.