system.kanoa.quality.analysis.getAvgChkItemEventsByRow
Description
Returns Check Sheet item event data averaged across all measurement counts for the given parameters with the check items in each row in KanoaQDS.Syntax
getAvgChkItemEventsByRow(paramsDict)- paramsDict (dict)
- - startDate (dateTime): Required
- - endDate (datetime): Required
- - chkShtId (int) Required
- - assetId (int)
- - assetPath (string)
- - itemClassPath (string)
- - itemId (int)
- - chkShtTypeId (int)
- - chkItemGroupId (int)
- - chkItemGroupIdList (list[int])
- - chkShtStateIds (list(int)]
- - enabled (bool)
- - limit (int): Limit the number of records returned. Default is 1000
- data (pyDataset)
- msg (string): None if success
Code Example
# Usage example
params_dict = {'startDate': system.date.getDate(2023, 1, 1), 'endDate': system.date.getDate(2023, 12, 31), 'chkShtId': 123}
data, ermsgror = system.kanoa.quality.analysis.getAvgChkItemEventsByRow(paramsDict)
print(data)