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
| - assetId | Integer | |
| - assetPath | String | |
| - chkItemGroupId | Integer | |
| - chkItemGroupIdList | List of Integers | |
| - chkShtId | Integer | Required |
| - chkShtStateIds | listint] | |
| - chkShtTypeId | Integer | |
| - enabled | Boolean | |
| - endDate | DateTime | Required |
| - itemClassPath | String | |
| - itemId | Integer | |
| - limit | Integer | Limit the number of records returned. Default is 500 |
| - startDate | DateTime | Required |
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)