Skip to main content

system.kanoa.event.getStateEvents

This function requires KanoaOPS module

Description

Returns state data filtered by the given parameters.

Syntax

getStateEvents(assetId, startDate, endDate)
  • Parameters
      assetId - Asset ID.
      startDate - Start date.
      endDate - End date.
  • Returns
    data (pyDataset).
  • Code Example

    # Example Usage:
    assetId = 123
    startDate = timestamp_start
    endDate = timestamp_end
    data = system.kanoa.event.getStateEvents(assetId, startDate, endDate)