R EikonAPI command to get the values of this econommic index: aSBWOGDPF/C

I require the R EikonAPI command to get the values of this econommic index: aSBWOGDPF/C The following command returns NAs: get_timeseries(rics = list("aSBWOGDPF/C"), fields = list("ECONOMIC.Value","ECONOMIC.Timestamp"),"2012-01-01T15:04:05","2016-01-10T15:04:05","yearly") Thanks

Best Answer

  • Jirapongse
    Jirapongse admin
    Answer ✓

    @lizalyn.fuentes

    The get_timeseries function can only retrieve the default view (OHLC) of RHistory.

    image

    It is unable to historical data in the Economic Indicator category.

    You may need to verify if the same data is available via the =TR Excel formula. If yes, we can use the get_data method to retrieve the data.

    I also found that this historical data is available in the Datastream.

    image

    For more information about the DatastreamDSWS2R, please refer to this article.