Skip to content
New issue

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

A better and more accurate cities list #2

Closed
jackyef opened this issue Jan 29, 2022 · 3 comments · Fixed by #5
Closed

A better and more accurate cities list #2

jackyef opened this issue Jan 29, 2022 · 3 comments · Fixed by #5
Assignees

Comments

@jackyef
Copy link
Owner

jackyef commented Jan 29, 2022

Apparently there are only around 500 kabupaten/kota in Indonesia, which means the current data source we are using is not that great.

Consider building our own list, scraping lat/lng from somewhere given available names of all kabupaten/kota.

@hendrasan
Copy link

I found this gist: https://gist.github.com/tvalentius/066b055d4d55de3eb303dc9f3d210d76#file-ipm-csv

It seems to be a bit outdated (should be 514 cities but it only has 498), but it should be good enough. It needs cleansing though (for example lots of the cities have the prefix "Kota " and it separates cities such as Jakarta into 5 separate regions (Jaksel, Jakbar, etc).

@hendrasan
Copy link

Ignore the above, here's another one with 514 rows

https://raw.githubusercontent.com/yusufsyaifudin/wilayah-indonesia/master/data/list_of_area/regencies.json

@jackyef
Copy link
Owner Author

jackyef commented Jan 29, 2022

Ignore the above, here's another one with 514 rows

https://raw.githubusercontent.com/yusufsyaifudin/wilayah-indonesia/master/data/list_of_area/regencies.json

This is perfect, thank you! 🙌

@jackyef jackyef self-assigned this Jan 29, 2022
@jackyef jackyef mentioned this issue Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants