Menu
Data & tables / VisiData

Count booth assignments before printing a map

A keyboard-driven frequency table gives you a compact view of a roster, with the underlying rows close at hand.

What stands out in VisiData

VisiData is an unusually good fit for the moment between opening a file and knowing which question to ask. The grid is the starting point. A frequency table becomes a second sheet, so exploring a suspicious count does not require rearranging the original file.

Walkthrough

  1. Install the version for your platform using the project instructions. Open a terminal in the folder with market.csv and enter vd market.csv. Use the arrow keys to put the cursor on booth. Check the header before grouping, because booth and ticket answer different questions.
  2. Press Shift+F on the booth column to open its frequency table. Find B7, the only booth listed twice in the example. Read the count as a number of registrations, not a count of distinct vendors.
  3. Place the cursor on B7 and press Enter to inspect the contributing rows. Compare their ticket numbers and vendor names. They show two registrations with slightly different spellings. The frequency view has uncovered a question for the coordinator without changing a single cell.
  4. Return to the previous sheet with q. Build another frequency table on status. Compare its distribution with the booth counts before committing to a print run. A pending assignment can affect a map even when all the booth labels look tidy.

Field tip

If a frequency table has almost as many entries as the source sheet, look at the selected column again. Grouping by ticket produces one row per ticket in this sample. Moving a column left or right can turn an apparently useless result into the overview you wanted.

Where it falls short

Terminal shortcuts depend on keyboard focus. If letters appear in a prompt, finish or cancel that prompt before trying another command. Keep the source CSV untouched while learning to move between sheets.

Try it yourself

Pretend the printer can fit three confirmed booth labels on a test strip. From the practice file, count the distinct booths with confirmed rows. B7, C2 and A1 fit. A second B7 registration does not require another physical booth label.

Download practice file · CSV ↓

Product documentation

VisiData official reference ↗

Where to go next