Skip to main content

system.kanoa.quality.analysis.getSummary

Requires kanoaQDS license

Description

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

Syntax

getSummary(paramsDict, category)

Parameters:
  • paramsDict (dict): Dictionary containing parameters
  • category (string): Category type

  • Returns:
  • data (pyDataset): A dataset containing summarized count data
  • Code Examples

    # 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)