Skip to main content

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

- assetPathStringrequired '%' for all
- chkShtStateIdsList of Integers
- chkShtTypeIdInteger
- endDateDateTimerequired
- itemClassPathString
- itemIdInteger
- startDateDateTimerequired

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)