# SDMX links on IMF datas are not convenient

**URL:** <https://dbnomics.discourse.group/t/sdmx-links-on-imf-datas-are-not-convenient/30>\
**Category:** Uncategorized\
**Tags:** imf\
**Created:** [February 9, 2017, 11:05am UTC](https://dbnomics.discourse.group/t/sdmx-links-on-imf-datas-are-not-convenient/30 "2017-02-09T11:05:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eraviart](https://yyz2.discourse-cdn.com/free1/user_avatar/dbnomics.discourse.group/eraviart/32/2_2.png) [@eraviart](https://dbnomics.discourse.group/u/eraviart)\
**Post date:** [February 9, 2017, 11:05am UTC](https://dbnomics.discourse.group/t/sdmx-links-on-imf-datas-are-not-convenient/30/1 "2017-02-09T11:05:16Z")

</div>

Issue from [SuperMayo](https://github.com/SuperMayo)

Sdmx links for some series have an unusual numerical country code making them unusable for mass downloading.  
The country code is not even the ISO numeric code, maybe it’s some IMF internal classification.

**Reproduce the bug** :

- Go to the explorer
- Select IMF as provider
- Select WEO as dataset. _for example_
- Select a subject code : _GDP per capita in PPP_
- Select 2 series : _PPPPC.AFG.5_ and _PPPPC.ALB.5_
- Compare the sdmx links. While Afghanistan reads `.../WEO/PPPPC.AFG.512.5` Albania link is `.../WEO/PPPPC.ALB.914.5`.

Is there a way to get rid off this strange numerical code and get something like `.../WEO/PPPPC.AFG.5` ? It’s very annoying when you want to download datas for multiple countries.

---

<div class="post-metadata">

**Author:** ![eraviart](https://yyz2.discourse-cdn.com/free1/user_avatar/dbnomics.discourse.group/eraviart/32/2_2.png) [@eraviart](https://dbnomics.discourse.group/u/eraviart)\
**Post date:** [February 9, 2017, 11:07am UTC](https://dbnomics.discourse.group/t/sdmx-links-on-imf-datas-are-not-convenient/30/2 "2017-02-09T11:07:13Z")

</div>

[kalessine](https://github.com/kalessine) wrote:

The IMF has some really strange codes in their SDMX Codelists… they are specific to the IMF… on their SDMX test page [http://sdmxws.imf.org/Gateway/](http://sdmxws.imf.org/Gateway/)  
they list some files for ‘Mapping’ between IMF country codes and ISO codes
