views:

1623

answers:

2

Hi, I'm looking for a list/table of countries/nationalities that I can use in my app. I would like to basically have a lookup table that would be like the following, but including all countries in the world:

ID     Name                        Nationality

1      United Kingdom              British
2      United Status of America    American
3      Ireland                     Irish

Anyone come across something like this before? If not, I've a pretty tedious hour or two ahead!

Thanks

+1  A: 

Wikipedia seems to have what you need:

http://en.wikipedia.org/wiki/List_of_adjectival_forms_of_place_names

Winston Smith
Thanks Joe, that will help me.
Andrew Corkery
+1  A: 

The generally accepted country code list is contained in the ISO 3166-1 standard. Wars have been / are being / will be fought over nationality so good luck with that.

Jamie Ide
Better to call it "one accepted country code list" instead of "generally" -- the "war over a name" thing is pretty serious in some areas.
S.Lott
Can you point me to any other accepted country code lists? Having worked for an ISO certified company, I always went for the ISO spec for lookups, if possible, because it instantly ended discussion. That is how I was able to enforce a date entry format of YYYY-MM-DD in an internationally used app.
Jamie Ide
http://stackoverflow.com/questions/332685/is-there-a-centralized-list-of-country-names-that-can-be-used-for-web-drop-down-b has a number of alternative lists.
S.Lott
I found another list from the UN - http://unstats.un.org/unsd/methods/m49/m49alpha.htm - but I think it's probably derived from the ISO. They add a good disclaimer at the end.
Andrew Corkery