LSEG Data Library for Python

get_data

Sends a request to the Delivery Platform (formerly Refinitiv Data Platform) to retrieve the data described in the estimates.view_summary_kpi._historical_snapshots_kpi_definition.Definition object.

Module

lseg.data.content.estimates.view_summary_kpi.historical_snapshots_kpi

Syntax

get_data(session)

Parameters

Value Description Data type Optional Default value
session Session object. If session parameters are not defined, the default session will be used. Session object Yes None

Returned value

Response

Usage

The following example demonstrates how retrieve the estimates monthly historical snapshot value for all KPI measures for the last 12 months for BNPP.PA:

response = estimates.view_summary_kpi.historical_snapshots_kpi.Definition(
    universe="BNPP.PA",
).get_data()

print(response.data.df.to_string())

None

71 words (0:22 mins)