EikonGetNewsStory | R Documentation |
Return a single news story corresponding to the identifier provided in story_id
EikonGetNewsStory(
EikonObject = EikonConnect(),
story_id = NULL,
raw_output = FALSE,
debug = FALSE
)
EikonObject |
Connection Object result from EikonConnect() |
story_id |
The story id. The story id is a field you will find in every headline you retrieved with the legacy get_news_headlines |
raw_output |
boolean if TRUE provide only the raw downloaded info from Eikon |
debug |
boolean if TRUE prints out the python call to the console |
data.frame
## Not run:
EikonJson <- RefinitivJsonConnect()
headlines <- EikonGetNewsHeadlines(EikonObject = EikonJson
, query = "R:MSFT.O", count = 2)
stories <- EikonGetNewsStory(story_id = headlines$storyId
, EikonObject = EikonJson)
## End(Not run)
## Not run:
Eikon <- Refinitiv::EikonConnect()
story_id <- "urn:newsml:newswire.refinitiv.com:20230829:nRTVm1b2r:5"
stories_RD <- EikonGetNewsStory(story_id = story_id
, EikonObject = Eikon, debug = TRUE, raw_output = FALSE)
EikonJson <- RefinitivJsonConnect()
stories_JSON <- EikonGetNewsStory(story_id = story_id
, EikonObject = EikonJson, debug = TRUE, raw_output = FALSE)
identical(stories_RD, stories_JSON)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.