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.
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
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.
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/