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

Upvote
Accepted
16 0 3 5

How to get a list of all levels of a company structure (TREE) in API?

How to get a list of all levels of a company structure (TREE) in API?


Here is the sample code:

df = rd.get_data('HSBA.L', ['TR.RelatedOrgId','TR.RelatedOrgName','TR.RelatedOrgType','TR.UltimateParent','TR.HeadquartersCity'])


In this example i only get the entities directly below HSBA.L and not thier entities also (the full tree). It also does not return the ultimate parent or HQcity for each entity as expected, only HSBA.L

#productcompany-tree
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.

1 Answer

· Write an Answer
Upvotes
Accepted
84.6k 287 53 77

@JoanneCamille.Andes

Thank you for reaching out to us.

This forum is dedicated to technical queries on Refinitiv product APIs. You need contact the helpdesk team via MyAccount and ask for the TR fields that can provide the required data. You can also try to retrieve the data through the Eikon Excel or Workspace Excel. Then, apply the same TR fields and paramters to the rd.get_data method.

Morever, you can use the Data Item Browser tool to search for fields and parameters.


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.