Skip to content

Spreadsheets vs Annotation Tools for Labeling Data

When one person can label rows in a spreadsheet, where a shared sheet fails once several annotators label the same items, and how a CSV file moves into Potato.

A spreadsheet is enough when one person labels a few hundred short items with one label each and nobody needs an agreement figure. Once two or more people label the same items, an annotation tool costs less than a shared sheet, because the tool keeps each annotator's labels away from the other annotators, records every changed answer, and computes agreement. Potato reads the sheet saved as CSV and writes the labels back as CSV.

An annotation tool shows each item to an annotator, records the label, and keeps track of who labeled what. Inter-rater reliability measures whether independent annotators assign the same labels, and a paper that reports human labels is usually asked for a chance-corrected coefficient such as Cohen's kappa or Krippendorff's alpha. A spreadsheet holds one value per cell, in a file that everyone with access can read and change. Build or Buy an Annotation Tool covers the next decision, between writing your own labeling app, running an open-source tool, and paying for a hosted platform.

When a spreadsheet is enough

A spreadsheet works for labeling when all four conditions below hold:

  • One annotator. The annotator is usually the person who owns the data.
  • One label per item, from a short fixed list. A scheme with one answer per row fits in one cell per row.
  • Short items. A sentence or a product review fits in a cell, while a transcript or an image needs a display of its own.
  • No agreement to report. A single annotator gives nothing to compare.

From the first row, give every row a stable ID such as r001, and keep the item text and the label in separate columns. A sheet laid out with an ID column and separate text and label columns loads into an annotation tool unchanged when the job grows.

Where a spreadsheet breaks

A spreadsheet stops working once a second annotator labels the same rows, or once the labels have to stand up in a paper. Each problem below is followed by the way Potato handles the problem.

  • Annotators can read each other's labels. In a shared sheet the second annotator can see the first annotator's column, and agreement measured on labels made with the other column in view does not compare independent judgments. Potato stores each annotator's answers separately, and the annotation page shows each annotator only that annotator's answers. Adjudication and multiplayer rooms show one person another person's labels, and the two features stay off unless the config turns the features on.
  • Earlier labels travel with the item. A sheet that already holds a colleague's labels or a model's guesses puts the earlier labels beside every item a later annotator reads. Anyone who has the file has every column in the file. Potato's item_properties.private_keys names data columns that the annotation page and its APIs leave out. A custom layout can still read the raw item, and a column passed through item_properties.kwargs reaches the page. A column meant to stay hidden goes in private_keys and never in kwargs.
  • A cell holds one value. Highlighting a phrase, drawing a box on an image, or marking a stretch of audio produces positions, and a sheet has no column for positions inside the text. Potato's span, box, and segment schemes store positions, and python -m potato.export writes each span with the words the span covers.
  • A cell keeps only the latest answer. The label column says what each row holds now, and nothing about which rows an annotator revised or when. Potato logs each changed answer with a timestamp in an audit trail (Annotation History). For radio, checkbox, and text answers, annotation_changes.csv holds the old and new values when export_include_annotation_changes is on. Span, box, and segment edits are not in annotation_changes.csv.
  • Every annotator sees the rows in the same order. Fatigue and practice fall on the same rows for everyone, because everyone reaches the bottom rows last. An annotator who stops halfway leaves the bottom rows unlabeled. With assignment_strategy: random, Potato hands each annotator a random draw of the items that still need labels.
  • Nothing checks attention. A sheet looks the same whether an annotator read each row or filled a column with one label. Potato's attention_checks block mixes items with known answers into each annotator's queue (Quality Control).
  • Instructions change without a record. Guidelines kept in a separate document get edited during the job, and the sheet does not say which version an annotator had read. In Potato the instructions belong to the project, as an instructions phase page shown once before the first item or as an annotation_instructions banner on every item. Committing the project folder to version control records which instructions went with which config (Writing Annotation Guidelines).
  • A wrong paste overwrites another row. A paste into the wrong range or a value typed into the wrong row replaces a label that someone else entered. In Potato an annotator answers one item at a time on the annotation page and never opens the data file or another annotator's answers.

Published research on spreadsheet errors

Errors in spreadsheets built for business and planning have been audited and measured since the 1980s. Panko (2000) reviewed field audits of spreadsheets used in organizations, and the audits that used better methods found errors in at least 86% of the spreadsheets examined. In laboratory experiments with about a thousand participants, 51% of the spreadsheets built from short word problems contained errors, although most of the experimental spreadsheets had only 25 to 50 cells. Panko's studies concern spreadsheet models built from formulas, and a label column has no formulas. The review also counts errors that enter during ongoing use, when people type wrong data into a finished spreadsheet. A labeling sheet is filled entirely by data entry.

Values that change without anyone typing them are a second documented source of error. Ziemann, Eren, and El-Osta (2016) scanned the supplementary files of leading genomics journals and found that about one-fifth of papers with supplementary Excel gene lists contained gene names converted to dates or floating-point numbers. Potato reads every cell of a CSV data file as text. An ID such as 007 stays 007, and a cell holding NA stays the text NA.

Moving a CSV into Potato

A sheet saved as CSV or TSV becomes Potato's data file, one item per row. The config below takes a sheet with the columns id, text, and old_label, sends each row to two annotators, keeps the old labels out of the browser, and writes a CSV export while annotators work:

yaml
annotation_task_name: Product review sentiment
task_dir: .
data_files:
  - data/items.csv
item_properties:
  id_key: id
  text_key: text
  private_keys: [old_label]
output_annotation_dir: annotation_output/
 
user_config:
  allow_all_users: true
  users: []
 
num_annotators_per_item: 2
assignment_strategy: random
export_annotation_format: csv
export_include_annotation_changes: true
 
annotation_schemes:
  - annotation_type: radio
    name: sentiment
    description: What is the sentiment of this review?
    labels: [positive, neutral, negative]

The keys in the config work as follows:

  • data_files accepts .csv, .tsv, .json, .jsonl, and .parquet files. In a CSV or TSV file, an empty ID cell stops Potato at startup with the row named, and an ID that appears twice stops Potato with the duplicated ID named. A sheet saved in an encoding other than UTF-8 needs the entry written as {path: data/items.csv, encoding: cp1252}. Replace cp1252 with the file's own encoding.
  • id_key and text_key name the ID column and the column annotators read. Potato's validator rejects a private_keys list that names either column.
  • num_annotators_per_item: 2 sends every row to two annotators, the smallest number that gives an agreement figure.
  • assignment_strategy: random draws each annotator's items at random from the rows that have fewer than two annotators.
  • export_annotation_format: csv writes annotation_output/exports/csv/annotations.csv after an answer is saved, at most once every auto_export_interval seconds (60 by default), and the file can lag behind the latest answers. export_include_annotation_changes: true writes the change history beside the export as annotation_changes.csv.

Start the server with potato start config.yaml -p 8000 and send annotators the address. Data Formats lists the fields each row can carry, and Task Assignment covers the other assignment strategies.

Labels back in a spreadsheet

annotations.csv has one row per annotator per item. The instance_id and user_id columns come first, followed by one column per label named <scheme>.<label>, in the order the labels first occur. A span scheme's <scheme>._spans column can sit between the label columns. Two annotators who disagree on one review produce this file:

csv
instance_id,user_id,sentiment.negative,sentiment.neutral
r001,ana,negative,
r001,ben,,neutral

The <scheme>._spans column holds each span's offsets and label as JSON. The periodic export leaves each span's "text" empty, and only python -m potato.export --config config.yaml --format csv --output export/ fills in the covered words. Run the command for the final export. Unlike the periodic file, the command reads every saved answer. --format reliability writes Krippendorff's alpha with a 95% bootstrap interval for radio, select, likert, number, slider, vas, multiselect, hierarchical_multiselect, span, and pairwise schemes. Move a Spreadsheet Labeling Job Into Potato runs the whole round trip on 40 rows of a real sheet. The tutorial's pandas script turns the export into one column per annotator next to the original labels.

Frequently asked questions

The questions below cover the choice between a spreadsheet and an annotation tool for labeling.

Should I label data in a spreadsheet or an annotation tool?

Use a spreadsheet when one person labels a few hundred short items with one label each and there is no agreement to report, and use an annotation tool once two or more people label the same items. A shared sheet lets the second annotator read the first annotator's labels, keeps no record of changed answers, and has no column for a highlighted phrase or a box on an image. Potato reads the sheet saved as CSV and writes the labels back out as CSV.

When should I move labeling from a spreadsheet to an annotation tool?

Move when a second annotator joins, when items need spans or regions rather than one label per row, or when a reviewer will ask for agreement between annotators. Before moving, give every row an ID that never changes and save the sheet as a UTF-8 CSV file. Potato then reads the file as its data without changes. item_properties.private_keys keeps any existing label column away from the new annotators.

Further reading

References

  1. Panko, R. R. (2000). Spreadsheet errors: What we know. What we think we can do. Proceedings of the European Spreadsheet Risks Interest Group (EuSpRIG) Symposium, 7-17. https://arxiv.org/abs/0802.3457
  2. Ziemann, M., Eren, Y., & El-Osta, A. (2016). Gene name errors are widespread in the scientific literature. Genome Biology, 17, 177. https://doi.org/10.1186/s13059-016-1044-7