James Linden

~# data ninja / linux guru / web dev geek / robotics nerd / idea machine / N6NRD

Datasets / ISO 3166-1 Alpha-3 Country Codes Parser

ISO 3166-1 Alpha-3 Country Codes Parser

Overview

Wikipedia.org ISO 3166-1 Alpha-3 Country Codes Parser is a script to parse the wikipedia article for the ISO 3166-1 Alpha-3 standard to produce a tab-delimited text output, suitable for import into another project or database.

Dataset Source

URL: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3

Updates: infrequently

Environment

  • GNU/Linux
  • PHP 5.3 + (with mbstring)

Notes

  • This script generates raw formatted text.

Howto

Simply download wikipedia.org-iso3166-1-alpha-3.php and run it.

The created output is a 2 column tab-delimited format:

Code Name
ABW Aruba
AFG Afghanistan
AGO Angola

License

This project is BSD (2 clause) licensed.

photo of James Linden
Founder / Head Geek
Digital Dock, LLC
aka kodekrash & N6NRD
Alexandria, LA USA

What I Do

Linux administration & virtualization
Data mining, storage & analysis
Web development

What I've Done

Rescued a skunk
Built Prime GNU/Linux
Contributed to Spidering Hacks