Which kiosks see users one to four times?

Why ask this?

A service manager comparing occasional kiosk usage needs to include identified users seen once through four times. Kiosks with repeated activity by the same user count that person once.

Start with the sample data

Open source.csv. In the first row of source.csv, Kiosk = North, User = A.

What to say

Show the top two kiosks by users with between one and four visits as a bar chart.

Processing time

Recorded audio to chart ready
3.32 s
Transcript to chart ready
0.43 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. Aggregate · Count populated values in User for each Kiosk, User

    If a category appears more than once, its records contribute to one result. The first output row contains Kiosk = North, User = A, nonblank_User = 1.

  3. Find / Replace · Clear values matching the saved expression

    Find & Replace applies ^(?!(?:1|2|3|4)$)[0-9]+$ to nonblank_User. For example, Kiosk = North, User = , nonblank_User = 0 has its nonblank_User value cleared.

  4. Aggregate · Count populated values in nonblank_User for each Kiosk

    If a category appears more than once, its records contribute to one result. The first output row contains Kiosk = North, nonblank_nonblank_User = 1.

  5. Column Renamer · Prepare the output columns

    nonblank_nonblank_User becomes Users with 1 to 4 visits. The result exposes Kiosk, Users with 1 to 4 visits.

  6. Sort · Order the results

    Sort by Users with 1 to 4 visits (descending), then Kiosk (ascending). The first rows in order are South → North.

  7. Rank · Assign a rank

    The ordered rows receive positions starting at 1. Here, South is #1, North is #2.

  8. Measure Filter · Keep the requested rows

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

  9. Column Renamer · Prepare the output columns

    Remove rank. The result exposes Kiosk, Users with 1 to 4 visits.

  10. Charts · Draw the bar chart

    Use Kiosk for the categories and Users with 1 to 4 visits for the plotted values.

Native n0is canvas for Which kiosks see users one to four times?

The chart

Workflow result in n0is
KioskUsers with 1 to 4 visits
South2
North1

How to use the result

For Kiosk South, the sample reports Users with 1 to 4 visits of 2.

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