ISO-Country-Data
ISO-Country-Data copied to clipboard
ISO Country data in JSON and CSV format.
ISO Country, Language, Currency and Region Data
I created this repo as I wanted just the minimal dataset to import into other projects. It is based on the raw data from the excellent NodeJS project OpenBookPrices/country-data, is provided with the same LICENSE and features the following changes:
- CSV files have been CSV-linted and reformatted to 'Standard CSV'
- The files have all been JSON-linted and re-formatted slightly.
- Added minified (.min.json) version of each JSON file
regions.jshas been compiled into JSON and flattened down to 1 levelregions.jshas a new entry 'eurozone' for countries using the EURO (€)
Note that there is intentionally no regions.csv file.
Countries
The data currently provided for each country is:
nameThe english name for the countryalpha2The ISO 3166-1 alpha 2 codealpha3The ISO 3166-1 alpha 3 codestatus: The ISO status of the entry: either 'assigned' or 'reserved'.currenciesAn array of ISO 4217 currency codes with the primary one firstlanguagesAn array of ISO 639-2 codes for languages (may not be complete).countryCallingCodesAn array of the international call prefixes for this country.iocThe International Olympic Committee country code
Regions
Countries are ofter grouped into regions. The list of regions is by no means exhaustive, pull requests very welcome for additions.
countriesAn array ofalpha2codes for the countries in this region.
Currencies
It is not that useful to just have the currency code(s) for a country, so included is currency data too:
nameThe english name for the currencycodeThe ISO 4217 codenumberThe ISO 4217 numberdecimalsThe number of decimal digits conventionally shown
Languages
A list of languages provided by ISO 639-2;