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

Political subdivisions #9

Open
ekkis opened this issue Apr 1, 2019 · 2 comments
Open

Political subdivisions #9

ekkis opened this issue Apr 1, 2019 · 2 comments

Comments

@ekkis
Copy link
Collaborator

ekkis commented Apr 1, 2019

I've always wanted to have a source for political subdivisions. it's a complex matter but we should attempt it. part of the proposition would address terminology i.e. is is a province, a department, at prefecture?

and maybe go down a level or 2. Australia, for example, has territories, underneath states (and those are broken up too). Russia has oblasts

we should give it a try

@i-rocky
Copy link
Owner

i-rocky commented Apr 1, 2019

Isn't that a memory overload for someone who only wants a list of countries for his HTML select element?

@ekkis
Copy link
Collaborator Author

ekkis commented Apr 1, 2019

it would be but we can require the user to make a special call for the additional information. we don't return it by default. in fact, we could specify a depth parameter so depth=1 returns territories, depth=2 returns states, depth=3 returns provinces, depth=4 returns metropolitan areas, etc.

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

No branches or pull requests

2 participants