Choosing One Observation Per Row

A tabular data set is easier to summarize when the unit represented by each row is clear and fields retain consistent meanings.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace two measurement times
  2. Check repeated labels

Trace two measurement times

One station can supply separate rows for its 9:00 and 10:00 readings. Storing both times in a single free-text cell makes a time-based calculation harder. Relational row granularity applies the same idea to tables.

Check repeated labels

Station name may repeat across measurements. The record identity can include station and observation time where that pair is unique. Composite keys express that choice.[1][2]

References

  1. Hadley Wickham, Tidy Data ↩
  2. Matplotlib Development Team, Plot Types ↩