system.kanoa.event.getPreviousStateEvent
Description
Gets the previous stateEvent entry for the assetId and tStamp passed.Syntax
getPreviousStateEvent(assetId, tStamp)- assetId - Asset ID.
- tStamp (datetime) - Timestamp.
data (pyDataset).
Code Example
# Example Usage:
assetId = 123
tStamp = timestamp
data = system.kanoa.event.getPreviousStateEvent(assetId, tStamp)