Which inspection duration should be compared?

Why ask this?

A plant manager planning inspection capacity can compare scheduled minutes or time actually spent. Choosing the actual duration measures how long inspections took on the floor.

Start with the sample data

Open source.csv. In the first row of source.csv, Plant = Oak, Planned inspection minutes = 20, Actual inspection minutes = 4.

What to say

Make a bar chart of the top two plants by median inspection minutes.

Processing time

Recorded audio to chart ready
4.12 s
Transcript to chart ready
0.65 ms

One local replay from recorded audio through transcription and native chart data preparation. Includes processing of the clarification and reply. Time waiting for a person to answer is excluded. Recording time and screen painting are excluded.

See the transcript in the composerRecorded transcript entered in the native composer

When n0is asks

Which inspection minutes column should I use for the ranking?

Actual inspection minutes.

How the canvas produces the result

  1. CSV Input · Read the sample records

    source.csv supplies 4 rows. These records are the inputs to the next step.

  2. Column Filter · columnfilter

    The first output row contains Plant = Oak, Planned inspection minutes = 20, Actual inspection minutes = 4.

  3. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, Oak is #1, Oak is #4, Ash is #3.

  4. Aggregate · Take the minimum of Value position for each Plant

    If a category appears more than once, its records contribute to one result. The first output row contains Plant = Oak, min_Value position = 1.

  5. Joiner · Attach the group summary

    Match Plant to Plant in the other branch of the canvas. The first matched row contains Plant = Oak, Planned inspection minutes = 20, Actual inspection minutes = 4, Value position = 1, min_Value position = 1.

  6. Sort · Order the results

    Sort by min_Value position (ascending), then Value position (ascending). The first rows in order are Oak → Oak → Elm → Ash.

  7. Constant · Set Stable order

    Use the same value on each row so a stable rank preserves the sorted order.

  8. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, Oak is #1, Oak is #2, Elm is #3.

  9. Aggregate · Take the minimum of Position, Take the maximum of Position for each Plant

    If a category appears more than once, its records contribute to one result. The first output row contains Plant = Oak, min_Position = 1, max_Position = 2.

  10. Joiner · Attach the group summary

    Match Plant to Plant in the other branch of the canvas. The first matched row contains Plant = Oak, Planned inspection minutes = 20, Actual inspection minutes = 4, Value position = 1, min_Value position = 1, Stable order = 1, Position = 1, min_Position = 1, max_Position = 2.

  11. Math · Calculate Center distance squared

    Apply (2 * [Position] - [min_Position] - [max_Position]) * (2 * [Position] - [min_Position] - [max_Position]) to each input row. The first row yields 1.

  12. Measure Filter · Keep the requested rows

    The filter uses Center distance squared <= 1 in keep mode. 4 rows remain including Oak.

  13. Aggregate · Average Actual inspection minutes for each Plant

    If a category appears more than once, its records contribute to one result. The first output row contains Plant = Oak, avg_Actual inspection minutes = 7.

  14. Column Renamer · Prepare the output columns

    avg_Actual inspection minutes becomes median_Actual inspection minutes. The result exposes Plant, median_Actual inspection minutes.

  15. Sort · Order the results

    Sort by median_Actual inspection minutes (descending), then Plant (ascending). The first rows in order are Ash → Oak → Elm.

  16. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, Ash is #1, Oak is #2, Elm is #3.

  17. Measure Filter · Keep the requested rows

    The filter uses rank <= 2 in keep mode. 2 rows remain including Ash.

  18. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Plant, median_Actual inspection minutes.

  19. Charts · Draw the bar chart

    Use Plant for the categories and median_Actual inspection minutes for the plotted values.

Native n0is canvas for Which inspection duration should be compared?

The chart

Workflow result in n0is
Plantmedian_Actual inspection minutes
Ash9
Oak7

How to use the result

For Plant Ash, the sample reports median_Actual inspection minutes of 9.

Synthetic test audio. Screenshots from the recorded workflow in n0is.