What is typical unload time for each dock code?

Why ask this?

The source uses Bay and bay as separate dock codes. A planner needs the middle unload time within each exact code and can check those codes against the dock register before assigning a crew.

Start with the sample data

Open source.csv. In the first row of source.csv, Dock = Bay, Unload minutes = 1.

What to say

Build a bar chart of the top three docks by median unload minutes.

Processing time

Recorded audio to chart ready
2.65 s
Transcript to chart ready
0.99 ms

One local replay from recorded audio through transcription and native chart data preparation. Recording time and screen painting are excluded.

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

How the canvas produces the result

  1. CSV Input · Read the sample records

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

  2. Column Filter · columnfilter

    The first output row contains Dock = Bay, Unload minutes = 1.

  3. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, Bay is #1, bay is #4, Bay is #2.

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

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

  5. Joiner · Attach the group summary

    Match Dock to Dock in the other branch of the canvas. The first matched row contains Dock = Bay, Unload minutes = 1, 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 Bay → Bay → Elm → bay.

  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, Bay is #1, Bay is #2, Elm is #3.

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

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

  10. Joiner · Attach the group summary

    Match Dock to Dock in the other branch of the canvas. The first matched row contains Dock = Bay, Unload minutes = 1, 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. 5 rows remain including Bay.

  13. Aggregate · Average Unload minutes for each Dock

    If a category appears more than once, its records contribute to one result. The first output row contains Dock = Bay, avg_Unload minutes = 2.

  14. Column Renamer · Prepare the output columns

    avg_Unload minutes becomes median_Unload minutes. The result exposes Dock, median_Unload minutes.

  15. Sort · Order the results

    Sort by median_Unload minutes (descending), then Dock (ascending). The first rows in order are bay → Elm → Bay.

  16. Rank · Assign a rank

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

  17. Measure Filter · Keep the requested rows

    The filter uses rank <= 3 in keep mode. 3 rows remain including bay.

  18. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Dock, median_Unload minutes.

  19. Charts · Draw the bar chart

    Use Dock for the categories and median_Unload minutes for the plotted values.

Native n0is canvas for What is typical unload time for each dock code?

The chart

Workflow result in n0is
Dockmedian_Unload minutes
bay12
Elm5
Bay2

How to use the result

For Dock bay, the sample reports median_Unload minutes of 12.

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