Refinitiv Data Library for Python

get_data

Sends a request to the Refinitiv Data Platform to retrieve the data described in esg.universe.Definition object.

Module

refinitiv.data.content.esg.universe

Syntax

get_data(session, on_response)

Parameters

Value Description Data type Optional Default value
session Session object. If it's not passed the default session will be used. Session object Yes None
on_response User-defined callback function to process the retrieved data. Callable Yes None

Returned value

Response

Usage

The following example demonstrates how to retrieve all ESG data (first 5 results for demonstration purposes):

from refinitiv.data.content import esg

response = esg.universe.Definition().get_data()
print(response.data.df.to_markdown())
Response
Organization PermID Ric Code Common name
0 4295533401 RST^J20 Rosetta Stone Inc
1 4295613014 PWF.TO^B20 Power Financial Corp
2 4295641240 KE.O Kimball Electronics Inc
3 4295856018 PATA.BA Importadora y Exportadora de la Patagonia SA
4 4295856019 COME.BA Sociedad Comercial del Plata SA

None.