Which depots have the fewest repeat drivers?

Why ask this?

A dispatcher planning check-in training can look for depots that see few returning drivers. A driver who checks in repeatedly at one depot contributes once to its repeat count.

Start with the sample data

Open source.csv. In the first row of source.csv, Depot = Hill, Driver = 7.

What to say

Create a bar chart of the bottom two depots by repeat drivers.

Processing time

Recorded audio to chart ready
2.77 s
Transcript to chart ready
0.39 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 6 rows. These records are the inputs to the next step.

  2. Aggregate · Count populated values in Driver for each Depot, Driver

    If a category appears more than once, its records contribute to one result. The first output row contains Depot = Hill, Driver = 7, nonblank_Driver = 3.

  3. Find / Replace · Mark identifiers that appeared fewer than twice

    In nonblank_Driver, clear counts of zero or one. Counts of two or more stay populated. The next count can include each returning identifier once while keeping every location in the table.

  4. Aggregate · Count populated values in nonblank_Driver for each Depot

    If a category appears more than once, its records contribute to one result. The first output row contains Depot = Hill, nonblank_nonblank_Driver = 1.

  5. Column Renamer · Prepare the output columns

    nonblank_nonblank_Driver becomes Returning drivers. The result exposes Depot, Returning drivers.

  6. Sort · Order the results

    Sort by Returning drivers (ascending), then Depot (ascending). The first rows in order are Lake → Hill → Park.

  7. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, Lake is #1, Hill is #2, Park is #3.

  8. Measure Filter · Keep the requested rows

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

  9. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Depot, Returning drivers.

  10. Charts · Draw the bar chart

    Use Depot for the categories and Returning drivers for the plotted values.

Native n0is canvas for Which depots have the fewest repeat drivers?

The chart

Workflow result in n0is
DepotReturning drivers
Lake0
Hill1

How to use the result

For Depot Lake, the sample reports Returning drivers of 0.

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