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”, “monthly”, and “yearly”.

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

nextUpdate <- cdatafeedtre::GetTimeSeriesDataFor("ILMN.O", "daily")

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

cdatafeedtre::Logout()

That’s it!

Below we have a picture of the output.

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

Share on LinkedInShare on Twitterhttp://www.coherentlogic.com/wordpress/wp-content/uploads/2013/01/HistoricTimeSeriesExampleOutput1.pngDigg ThisSubmit to redditSubmit to StumbleUponShare on XingShare via email