1
vote

I have done quite a bit of looking around, and found several lists based on the ISO standards, but of dubious quality, e.g. with null or blank entries, extra entries that are not real currencies etc.

Can somebody recommend a source that I can use for these lists? Does someone like Google API maybe offer these as a service? Where should I go looking for these?

I would like to get data in delimited file, xml, json, anything friendlier than EDIFACT basically.

2 Answers 2

2
votes

You'd think the International Standards Organisation would do this, but no, its, you guessed it WIKIPEDIA!

Why this should be the case is a mystery, but here you are. It even offers the lists in machine readable formats if you have a look around.

4
  • 2
    ISO provides them as well. And they provide the data in more consumable formats (XLS, XML) and for country codes: XML, TXT (semicolon-separated), and HTML. I suppose they could offer a REST web service that lets you access it in any data format you want (XML/JSON/CSV/HTML) and guarantees the latest revision. Feb 20, 2012 at 21:45
  • @Lèsemajesté brilliant, I had no idea. Thanks for the link. Feb 20, 2012 at 21:48
  • 1
    I'm being too fussy, but I think it's something of a design shortcoming that it's so much easier for a person to read these tables on wikipedia that to get machine readable data. I would put a download link above each table. Will suggest it on the wiki as well. I mean, they have raw data, put effort into presenting it, only so readers have to put effort into consuming it.
    – ProfK
    Feb 24, 2012 at 5:44
  • @ProfK no I don't think you're being fussy, the Wiki UI sucks, especially when editing. Feb 24, 2012 at 11:20
0
votes

This is the best resource I've found for country information:

https://raw.githubusercontent.com/datasets/country-codes/master/data/country-codes.csv

Not the answer you're looking for? Browse other questions tagged or ask your own question.