Attached report has historical data. Is there another view in RDP for that?
Attached report has historical data. Is there another view in RDP for that?
Hi @neri.wong,
You can use the Refinitiv Data Libraries to retrieve vessel data from RDP. For example, the following Python code snippet is using the Search endpoint:
start_date = datetime.now() + relativedelta(days=-30) df=rdp.search( view = rdp.SearchViews.VesselPhysicalAssets, query = "Rio Grande", filter = f"OriginDepartureDateTime gt {start_date.strftime('%Y-%m-%d')}", order_by = "OriginDepartureDateTime", select = "HullType, OriginDepartureDateTime, VesselStatus, IMO, Draft, DestinationPort, AssetName", top = 10 )
The output will look like this: