An open API service indexing awesome lists of open source software.

https://github.com/datasets/currency-codes

ISO 4217 List of Currencies and Currency Codes
https://github.com/datasets/currency-codes

Last synced: about 1 year ago
JSON representation

ISO 4217 List of Currencies and Currency Codes

Awesome Lists containing this project

README

          

badge

List of currencies and their 3 digit codes as defined by [ISO 4217][iso-4217]. The data
provided here is the consolidation of Table A.1 "Current currency & funds code list" and
Table A.3 "Historic denominations".

Note that the [ISO page][iso-4217] offers pay-for PDFs but also links to [http://www.currency-iso.org/en/home/tables.html](http://www.currency-iso.org/en/home/tables.html) which does provide them in machine readable form freely.

[iso-4217]: https://www.six-group.com/en/products-services/financial-information/data-standards.html

## Data

The data provided (see data/codes.csv) in this data package provides a
consolidated list of currency (and funds) codes by combining these two
separate tables:

* [ISO Tables A.1 - Current Currencies and Funds][a1]
* [ISO Tables A.3 - List of codes for historic denominations of currencies & funds][a3]

[a1]: https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml
[a3]: https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-three.xml

## Preparation

The script requires recode package to be istalled. Install it by running:

`sudo apt install recode`

Run the following script to download and convert the data from XML to
CSV:

```
cd scripts/
./runall.sh
```

The raw XML files are stored in `./archive`. The cleaned data are
`./data/codes-all.csv`.

## Version

The current tables have a published date of 28 March 2014 (as indicated
in the XML files).

## License

Placing in the Public Domain under the Public Domain Dedication and License.
The original site states no restriction on use and the data is small and
completely factual.