SDMX links on IMF datas are not convenient

Issue from 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.

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/
they list some files for ‘Mapping’ between IMF country codes and ISO codes