Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
2 5 5 8

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-apirefinitiv-dataplatform-eikonworkspaceworkspace-data-apifundamental-data
1624025238739.png (272.6 KiB)
icon clock
10 |1500

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

Hello @oliver.rogers19

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

1 Answer

· Write an Answer
Upvote
Accepted
10.2k 18 6 9

@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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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