system.kanoa.quality.analysis.getSummary(paramsDict, category)
Returns summarized count of check sheets by state for the parameters passed. paramsDict keys are optional
Parameters
paramsDict Dictionary
| - assetId | Integer | |
| - assetPath | String | |
| - auto | Boolean | |
| - chkShtEventId | Integer | |
| - chkShtId | Integer | |
| - chkShtStateIds | List of Integers | |
| - chkShtTypeId | Integer | |
| - endDate | DateTime | |
| - itemClassPath | String | |
| - itemId | Integer | |
| - startDate | DateTime |
category String: i.e 'areaPath' or 'itemName' or 'shiftName'
Returns
summaryData pyDataset
Example
paramsDict = {'
startDate': system.date.getDate(2023, 1, 1),
'endDate': system.date.getDate(2023, 12, 31),
'assetId': 18
}
category = 'shiftName'
data = system.kanoa.quality.analysis.getSummary(paramsDict, category)