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
- limitIntegerLimit the number of records returned. Default is 500
- startDateDateTimeRequired

Returns

chkItemEventData pyDataset
msg 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)