mledoze / countries

World countries in JSON, CSV, XML and Yaml. Any help is welcome!
https://mledoze.github.io/countries/
Open Data Commons Open Database License v1.0
5.98k stars 1.27k forks source link

wish this had the following #1

Closed russellharrower closed 11 years ago

russellharrower commented 12 years ago

1) country Currency code 2) Country States 3) Country states capital cities

mledoze commented 12 years ago

Ok for currency code and capital cities, I will add that.

I don't know if 'country states' is applicable to all countries.

ghost commented 12 years ago

Maybe add some more information

5) The country capital 6) The country continent 7) The country phone code

mledoze commented 12 years ago

I'm OK for all three. I may also add official or native language

To add more information, please pick from this list: http://en.wikipedia.org/wiki/Lists_by_country

For country continent: http://en.wikipedia.org/wiki/List_of_sovereign_states_and_dependent_territories_by_continent_%28data_file%29

Any help is welcome!

ghost commented 12 years ago

Nice, what you think about having this with the most information we could get ?

Like:

I find very difficult to find all these things in one place and i don't mind helping you with this if you want !

I'm currently working on a bundle for Laravel ( PHP Framework ) so i can use it later in my projects, and all these information may come in handy for some other people aswell

ghost commented 12 years ago

I removed my previous comment !

What i have so far:

What i want to add:

And then Country Cities, that will have the city call code aswell, but this is going to be a lot of work !!

I you want my data files i can give them to you, it's a simple PHP script.

mledoze commented 12 years ago

This is good!

Can you please send a pull request that includes your work? You can add new temporary files, I can merge the data.

I'm interested in your PHP script. I did the initial work by hand because I thought that it would take more time to create a program to parse the data correctly (from various sources) than to do it manually. I know it takes a long time.

Thanks

mledoze commented 12 years ago

This might help us: https://github.com/hexorx/countries/blob/master/lib/data/countries.yaml

ghost commented 12 years ago

Hi,

I'm not that good with Github, but i need to reinstall it on my laptop.

Damn that is a very nice list =)

ghost commented 12 years ago

Email sended !

I will work with that data file, since it looks very complete

mledoze commented 12 years ago

There! Commits 9d919326c2f5bcacb273e6babf88be04f6777d32 and 923c8931eef60e43fb61268bf307b33dc892ad18.

I added the countries calling codes, added the 'Cocos (Keeling) Islands' country and updated a few info. I also added back the alternative spellings and relevance, it got lost somehow.

mledoze commented 11 years ago

I'm closing this issue. I'm currently adding capital cities and native languages.