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
5 3 4 3

Eikon Data API: How to retrieve vessel-related information?

Using Python Data API, is there a way I can programmatically access the fields (e.g. draft, cargo, latitude, longitude) from the vessel's IMO number or RIC code?

Thanks in advance.

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

@matthew.ang,

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @matthew.ang

You can use "Data Item Browser" to search for available fields.


This is the sample code with some fields:

imo = ['8602531','9349679','9619907']
fields = ['TR.AssetLocationDate','TR.AssetLocationLatitude','TR.AssetLocationLongitude','TR.AssetDestination','TR.AssetLocationStatus','TR.AssetHullType']
df,e = ek.get_data(imo, fields)
df


If you need help with the field names, you can contact the Refinitiv Content Helpdesk.

The Refinitiv Content Helpdesk can be reached using Contact Us capability in your Eikon application.
Or by calling the Helpdesk number in your country.
Or at https://my.refinitiv.com/


ahs1.png (92.6 KiB)
ahs2.png (27.2 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.