Skip to main content

system.kanoa.quality.analysis.getAvgChkItemEventsByRow(paramsDict)

Returns the averaged value for Check Sheet item event data for the given parameters with the check items in each row. paramsDict keys are optional unless otherwise stated.


Parameters

paramsDict Dictionary

- assetIdInteger
- assetPathString
- chkItemGroupIdInteger
- chkItemGroupIdListList of Integers
- chkShtIdIntegerRequired
- chkShtStateIdslistint]
- chkShtTypeIdInteger
- enabledBoolean
- endDateDateTimeRequired
- itemClassPathString
- itemIdInteger
- startDateDateTimeRequired

Returns

chkItemEventData pyDataset
message String None if success


Example

params_dict = {'startDate': system.date.getDate(2023, 1, 1), 'endDate': system.date.getDate(2023, 12, 31), 'chkShtId': 123}
data, msg = system.kanoa.quality.analysis.getAvgChkItemEventsByRow(paramsDict)