does anyone received the message "
Error in print.default("HTTP Error, code= ", response$status_code, sep = "") :
invalid 'digits' argument" using get_data in R?
Upgrade from Eikon -> Workspace. Learn about programming differences.
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
does anyone received the message "
Error in print.default("HTTP Error, code= ", response$status_code, sep = "") :
invalid 'digits' argument" using get_data in R?
Thank you for your participation in the forum.
Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the appropriate reply.
This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
I have tested with R and the code works fine.
You may need to set debug to TRUE in order to verify the retrieved response.
@marcelo.hiroki, Can you please post your complete get_data API call. Are you able to replicate the issue with a supported Python library example?
hi, thaks for your help.
library("eikonapir")
df<-get_data(as.list ('GOOG.O','FB.O'), + list ( 'TR.PriceClose'),debug = FALSE) Error in print.default("HTTP Error, code= ", response$status_code, sep = "") : invalid 'digits' argument
regarding python, no, we dont use python here. It needs to be in R
R is not an officially supported packages, so I won't be able to help with it. As far as the data call goes, it works fine. Here is the call result in Python:
>>> ek.get_data(['GOOG.O','FB.O'], fields=['TR.PriceClose']) ( Instrument Price Close 0 GOOG.O 1303.05 1 FB.O 197.51, None)