Skip to main content

system.kanoa.quality.analysis.getSummary

This function requires KanoaQDS module

Description

Returns summarized count of check sheets by state for the parameters passed in KanoaQDS.

Syntax

getSummary(paramsDict, category)
  • Parameters
      paramsDict - Dictionary containing parameters (dictionary).
      category - Category type (string).
  • Returns
      data - A dataset containing summarized count data (pyDataset).
  • Code Example

    # Usage example
    params_dict = {'startDate': system.date.getDate(2023, 1, 1), 'endDate': system.date.getDate(2023, 12, 31), 'assetId': 18, 'assetPath': 'Kanoa Industries\Adelaide Hills\Packaging\Line 1', 'itemClassPath': 'some path', 'itemId': 45}
    category = 'areaPath'
    data = system.kanoa.quality.analysis.getSummary(paramsDict=params_dict, category=category)