eikonapi R package and pulling unadjusted closing prices

Hi. I am trying to pull unadjusted closing prices from R using the eikonapir package. When I set the corax param to 'unadjusted' it returns the below error:r-corax-argument.png

Best Answer

  • @Charlotte.vanTiddens

    Thanks for reaching out to us.

    It could be a bug in the API.

    I checked the code on https://github.com/philaris/eikonapir.

    set_string_property <- function(list_object,property,value)
    {
      if (!is.null(value))
      {
        if (is.character(value))
        {
          payload[property] = value
          return (TRUE)
        }
        else
        {

          return (FALSE)
        }
      }
      return (TRUE)
    }

    The code uses the payload variable. The correct variable should be list_object.

    Please report this issue on GitHub.

    I hope that this information is of help.

Answers

  • @Charlotte.vanTiddens Sorry to hear about your issue - there is another library available for R users written by a customer that very kindly open-sourced it to the community. It uses the RDP python library (which contains the Eikon Data API as well) via reticulate interop to R. It also includes a port of the DataStream libs to R as well. Please check it out. I hope this can help.