Help us help you: Take a short survey!

Here’s an example R script that will login to Thomson Reuters, query for the historic time series data using the Illumina (ILMN.O) symbol, and then print the result.

Note that there are three time series constants that denote the period: “daily”, “weekly”, and “monthly”.

library("cdatafeedtre")
cdatafeedtre::Initialize()
cdatafeedtre::Login(yourDacsId)

nextUpdate <- cdatafeedtre::GetTimeSeriesDataFor(symbol="TRI.N", period="daily")

print(paste ("nextUpdate: ", unlist(nextUpdate)))

cdatafeedtre::Logout()

That’s it!

The next step is to access the data that the nextUpdate data frame contains — we can do this as follows:

> nextUpdate$sample[[1]][[615]]$point[[1]]
[1] 30.12

Below we have a picture of the output.

An example of the historic time series data for the TRI.N symbol.