How to retrieve a clean, consolidated time series of quarterly reports using multiple fields.

Dear Support Team,
Our goal is to retrieve a clean, consolidated time series of quarterly financial reports using multiple fields (e.g., "TR.TotalRevenue.date"
, "TR.TotalRevenue"
, "TR.CostOfRevenue"
, "TR.GrossProfit"
, "TR.TotalOperatingExpense"
, etc.). Ideally, we expect four records per year, each representing one quarter, with no duplicate records for the same date.
However, we have encountered an issue: when we retrieve these fields using a shared date field—such as "TR.TotalRevenue.date"
combined with "TR.TotalOperatingExpense"
—we observe multiple duplicate rows for the same date. Furthermore, the values sometimes differ from those obtained when using the field with its corresponding date field—for example, "TR.TotalOperatingExpense"
together with "TR.TotalOperatingExpense.date"
.
We attempted to retrieve the data via the lseg.data
Python API, querying each field individually. Nevertheless, we still receive multiple records for the same quarter, where we expect only a single consolidated value per field.
For example:
```fields = ["TR.EarningsRetentionRatePct", "TR.EarningsRetentionRatePct.date"]
df = ld.get_data(
universe=['MWA'],
fields=fields,
parameters = {'SDate':'2000-01-01', 'EDate':'2025-01-01', 'Frq':'FQ', 'Period':'FQ0', 'Adjusted': '0', 'Curn': 'USD', 'ReportType': 'MR'}
)
```
returns this output:
Earnings Retention Rate, % Date
3 1.0 2005-09-30
4 0.882353 2005-09-30
5 0.888268 2005-09-30
9 0.880682 2007-03-31
10 0.608696 2007-03-31
11 0.542373 2007-09-30
…
As you can see, the same reporting date appears multiple times with different values. We expected only one value per field per reporting date.
Could you please advise on the correct approach to obtain a consistent and non-duplicated time series of quarterly financials across multiple fields?
Answers
-
Thank you for reaching out to us.
This could be a content question, as mentioned on this discussion.
I found that the Workspace Excel also returns the same duplicated data. Please contact the helpdesk support team directly via MyAccount to verify the content.
0 -
Thank you for your prompt response.
In fact, I had already contacted the support team prior to creating this question, and they redirected me to the community discussions. Moreover, the thread you referenced was actually created by the support representative I was in contact with.I will reach out to them again for clarification regarding the duplicate entries. However, I would also appreciate it if you could provide a definitive explanation on how to correctly retrieve consolidated quarterly time series data using multiple fields and a single date field.
What is the recommended approach for this? This seems to be a clear question related to LSEG Liberty’s functionality.
0 -
First we need to verify if this is an issue in the content or LSEG Data Library.
Typically, we used Excel to retrieve the same data by using the same RICs, fields, and parameters.
If the data retrieved by Excel is similar to the data retrieved by the library, this could be an issue in the content.
Therefore, the Excel team needs to check the formula or content.
You need to ask for the Excel formula (=RDP.Data) that can be used to retrieve the required data.
Then, we can help you converting that formula to Python code.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛