system.kanoa.quality.analysis.getShiftHeatMap(paramsDict, category)
Returns heat map data of check sheets by Shift for the parameters. paramsDict keys are optional unless otherwise stated.
Parameters
paramsDict Dictionary
| - assetPath | String | required '%' for all |
| - chkShtStateIds | List of Integers | |
| - chkShtTypeId | Integer | |
| - endDate | DateTime | required |
| - itemClassPath | String | |
| - itemId | Integer | |
| - startDate | DateTime | required |
category String: i.e 'areaPath' or 'itemName' or 'shiftName'
Returns
heatmapData pyDataset
Example
paramsDict = {'startDate': system.date.getDate(2023, 1, 1), 'endDate': system.date.getDate(2023, 12, 31), 'assetPath': 'Kanoa Industries\Adelaide Hills'}
category = 'areaPath'
data = system.kanoa.quality.analysis.getShiftHeatMap(paramsDict, category)