Assistance filtering only Breaking News and Web News in Python with Refinitiv Workspace

Hi everyone,

 I'm currently downloading ESG-related news using Refinitiv Workspace via Jupyter Notebook (GPU / Workspace Helper connection).

Is there a way to filter only Breaking News and Web News within the Python refinitiv.datapackage?

Or maybe a different query syntax that ensures the exclusion of filings, research, press releases, etc.?

I’ve noticed that many of the headlines retrieved are not really “news” but rather Filings, Press Releases, Reports summaries, etc (e.g. urn:newsml:reuters.com:20240626:nNDL362xhq:1).

This doesn’t surprise me since Refinitiv News 2.0 includes a wide range of feed types like: Breaking News, Research, Video, Filings, Transcripts, Press Releases, Web News,  and X Posts. 

To try narrowing the results, I used the following filtering in my query to include only Breaking News and Web News:

query = (

    f"(ESG OR sustainability OR environment OR governance OR social) "

    f"and R:{ric} "

    f"and (ContentType:WebNews OR ContentType:BreakingNews)"

)

but I get results like:

“Searching filtered ESG news for POOL.OQ (only Breaking News and Web News)...

No additional news found for POOL.OQ”

Even though I can find relevant Web News and Breaking News for that RIC inside Refinitiv Workspace manually using News Monitor. 

Thanks in advance for your help.

Tagged:

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @jose.guillamon.19

    Thank you for reaching out to us.

    I checked and found that the API doesn't support the ContentType property, as shown on the news monitor.

    image.png

    You may check with the helpdesk team via MyAccount to verify if there are any news topic codes that can be used in the news query to filter news by Breaking News Alerts and Web News.