For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
2 2 0 3

How can you get financial data relating to a specific business segment of a company through the api?

I have attached a screenshot of the data I would like to be able to extract using a python script. For example data such as:

Rio Tinto 'External Revenue' from Aluminium in 2020

or

Rio Tinto 'Employees' in the Aluminium business segment in 2020

financial-segments.png


(screenshot is taken on a Workspace desktop)

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonfundamental-data
1624025238739.png (272.6 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
6.7k 8 6 7

@oliver.rogers19 Please try the following - I hope this can help.

df2, err =ek.get_data(['RIO.L'],['TR.F.ASRBusinessSegments.segmentName','TR.F.BUSExtRevASR','TR.F.BUSEmpFTEEquivPrdEndASR'],{'Period': 'FY0','Frq':'FY'})

df2

1624281713423.png



1624281713423.png (123.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea