For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
20 2 1 1

Error: Error in 1:nrow(input_data_frame) : argument of length 0 while using get_timeseries

Hi,

I am getting the above addressed error while running the get_timeseries. It is not a consistent error, sometimes it appear and sometimes it does not

NCLData <- get_timeseries(list(paste0(CFTCRICS[i],"NLNG")),start_date = paste(floor_date(Sys.Date() - years(14), "year"),"T00:00:00",sep = ""),end_date = paste(LastDayInMonth(Sys.Date()),"T00:00:00",sep = ""))

where CFTCRICS[1]="4005602".Sometimes while running, it shows error:

Error in 1:nrow(input_data_frame) : argument of length 0

and sometimes it runs properly. Please Help,

Thank you

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonreikon-data-api-r
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 69 35 53

@niket.chauhan

You may need to set the debug to TRUE to verify the retrieved response.

NCLData <- get_timeseries(
    list(paste0(CFTCRICS[i],"NLNG")),
    start_date = paste(floor_date(Sys.Date() - years(14), "year"),"T00:00:00",sep = ""),
    end_date = paste(LastDayInMonth(Sys.Date()),"T00:00:00",sep = ""),
    debug = TRUE)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea