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
Hey there, @amiller68! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together!
The PostgreSQL script in the countries-states-cities-database repository uses the state code 'TG' for Telangana, which aligns with the ISO 3166-2 code 'IN-TG' for Telangana as per the Wikipedia page you referenced. The discrepancy you noticed might be due to different representations or updates in the data sources. The script does not seem to have documentation or comments explaining the choice of state codes, including for Telangana [1][2]. If the code 'TS' is used elsewhere, it might be worth verifying against the official ISO standards or checking for any recent updates in the data sources.
in psql module the script inserts the following row
which i first noticed in this downstream package's docs: https://www.npmjs.com/package/country-state-city#stategetstatebycodeandcountrystatecode-countrycode
but the code is TS on wikipedia:
https://en.wikipedia.org/wiki/ISO_3166-2:IN#References
The text was updated successfully, but these errors were encountered: