fewISOs provides a collection of financial economics related ISO code datasets conveniently packaged for consumption in R.
Install the development version from github using: devtools::install_github("bautheac/fewISOs")
.
The countries
dataset corresponds to the ISO 3166-1 sub-standard, part of the ISO 3166 standard published by the International Organization for Standardization (ISO) that defines codes for the names of countries, dependent territories, special areas of geographical interest, and their principal subdivisions (e.g., provinces or states). The sub-standard comes in three sets of country codes, all provided in the dataset:
The currencies
dataset corresponds to the ISO 4217 standard that defines codes for worldwide currencies and comes as a three-letter alphabetic as well as an alternative three-digit numeric code, both provided in the dataset. The ISO 4217 three-letter alphabetic code standard is based on the ISO 3166-1 code standard for countries with the first two letters corresponding the ISO 3166-1 alpha-2 code for the country issuing the corresponding currency and the third corresponding to the first letter of the currency name when possible. The three-digit numeric code is the same as the ISO 3166-1 numeric code for the issuing country when possible.
head(currencies)
#> name alphabetic numeric minor unit country
#> 1 UAE Dirham AED 784 2 AE
#> 2 Afghani AFN 971 2 AF
#> 3 Lek ALL 008 2 AL
#> 4 Armenian Dram AMD 051 2 AM
#> 5 Netherlands Antillean Guilder ANG 532 2 CW
#> 6 Kwanza AOA 973 2 AO
The exchanges dataset corresponds to the ISO 10383 standard that defines four alphanumeric character Market Identifier Codes (MIC). These are unique identification codes used to identify securities trading exchanges, trading platforms and regulated or non-regulated markets as sources of prices and related information in order to facilitate automated processing.
head(exchanges)
#> name MIC country city
#> 1 zobex ZOBX DE Berlin
#> 2 zurcher kantonalbank securities exchange ZKBX CH Zurich
#> 3 jse currency derivatives market ZFXM ZA Johannesburg
#> 4 zar x ZARX ZA Johannesburg
#> 5 zagreb stock exchange - apa ZAPA HR Zagreb
#> 6 jse interest rate derivatives market YLDX ZA Johannesburg
#> website
#> 1 www.boerse-berlin.de
#> 2 www.zkb.ch
#> 3 www.jse.co.za
#> 4 www.zarx.co.za
#> 5 www.zse.hr
#> 6 www.yieldx.co.za