amattioc / SDMX

SDMX Connectors
European Union Public License 1.2
85 stars 46 forks source link

Does ILO server work? #11

Closed pdgilbert closed 9 years ago

pdgilbert commented 9 years ago

I have not been able to get anything from ILO: require("RJSDMX")

z <- getFlows('ILO') Using central configuration: /home/paul/.SdmxClient Dec 05, 2014 11:05:16 AM it.bankitalia.reri.sia.sdmx.client.RestSdmxClient runQuery SEVERE: Connection failed. HTTP error code : 502, message: Bad Gateway

Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : it.bankitalia.reri.sia.util.SdmxException: Connection failed. HTTP error code : 502, message: Bad Gateway

tts <- getSDMX("ILO", 'EAP_TEAP_SEX_AGENB.AUS.._.*') Dec 05, 2014 11:20:31 AM it.bankitalia.reri.sia.sdmx.client.RestSdmxClient runQuery SEVERE: Connection failed. HTTP error code : 404, message: Not Found SDMX meaning: No results matching the query. Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : it.bankitalia.reri.sia.util.SdmxException: Connection failed. HTTP error code : 404, message: Not Found SDMX meaning: No results matching the query.

amattioc commented 9 years ago

Hi, unfortunately the ILO endpoint does not respond to the getFlows call (probably too many flows) and this makes it impossible to use the sdmxHelper for it.

Anyway there is a nice API doc on the ILOSTAT site that helps building queries:

http://www.ilo.org/ilostat/content/conn/ILOSTATContentServer/path/Contribution%20Folders/statistics/web_pages/static_pages/technical_page/ilostat_appl/SDMX_User_Guide.pdf

Some working calls can be also got from the unit tests of the project, this is an example:

getTimeSeries("ILO", "DF_YI_ALL_EMP_TEMP_SEX_AGE_NB/YI.MEX.A.463.EMP_TEMP_NB.SEX_F.AGE_10YRBANDS_TOTAL")

I'll leave this issue open to keep track of the ILO provider evolution,...

amattioc commented 9 years ago

Thanks to the great help of the ILOSTAT support I could find a workaround (6d7ba78ba310a86e998fe25d10940a07871b653e) for this problem. A definitive fix is coming, but in the meantime the getflows already works.