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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

Python API - calling historical vessel data

Hi,

I am trying to pull historical vessel data for a particular ships imo.


info= [ 'TR.AssetDateTime',

'TR.AssetName',

'TR.AssetLocationLatitude',

'TR.AssetLocationLongitude',

'TR.AssetLocation',

'TR.AssetEnterTimestamp',

'TR.AssetLocationDraught',

'TR.AssetLocationDraughtPercentage',

'TR.AssetSpeed',

'TR.AssetHeading',

'TR.AssetDestination',

'TR.AssetDestinationPort',

'TR.AssetDestinationCountry',

'TR.AssetDestinationZone',

'TR.AssetETA',

'TR.AssetPreviousPort',

'TR.AssetPreviousCountry',

'TR.AssetPreviousEntryTime',

'TR.AssetPreviousExitTime',

'TR.AssetSubSubType'

]

df, err = ek.get_data(imo, info,{'Frq': 'H','SDate': -100,'EDate': 0})


I use the above to pull the hourly data for the last 100 days. But it does not return historic data for the below.

'TR.AssetName',

'TR.AssetLocation',

'TR.AssetDestination',

'TR.AssetDestinationPort',

'TR.AssetDestinationCountry',

'TR.AssetDestinationZone',

'TR.AssetPreviousPort',

'TR.AssetPreviousCountry',

'TR.AssetPreviousEntryTime',

'TR.AssetPreviousExitTime',

'TR.AssetSubSubType'


Thanks,

Henry



eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonapiissuevesselhelpdesk
capture.png (108.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.

1 Answer

Upvotes
Accepted
18k 21 12 20

Hi @hwooles

I used "Data Item Browser" to confirm that TR.AssetName and TR.AssetLocation do not support timeseries.



I think other fields also do not support timeseries, please contact Refinitiv Content Helpdesk at https://my.refinitiv.com/ to get an authoritative answer on the content behavior.


ahs1.png (110.8 KiB)
ahs2.png (104.5 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