Attached report has historical data. Is there another view in RDP for that?
Hi @neri.wong01,
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:
Hi @nick.zincone, thank you.
Dear @nick.zincone, your answer was really helpful for me.
But for Arrivals, how can you rewrite the filter?