Data Literacy
An analysis rarely arrives fully formed. It begins with a question, acquires a few decisions along the way, and eventually presents its findings as though they had been waiting patiently in the data all along. Documentation makes that journey visible. It records what was asked, what was changed, and what remains uncertain—so another person can understand the work, check it, and, when appropriate, repeat it.
At Databoxes, we think of a good record as a small, well-labeled box: not a warehouse of every stray thought, but a useful place for the choices that give numbers their meaning. You do not need specialist software to keep one. You need a clear question, a habit of noting decisions, and enough detail that a future reader—including your future self—does not have to guess.
Data work is often described as a sequence of technical steps. In practice, it is also a sequence of judgments. Which records belong in the analysis? How should an ambiguous response be classified? What counts as a missing value? Should two categories be combined, or kept apart? The answers can change the result, even when the arithmetic is flawless.
A brief record of those choices helps distinguish what the data says from what the analyst decided to do with it. It also makes review more useful. Rather than asking only whether a calculation is correct, a reader can ask whether the definitions and assumptions fit the question.
This matters especially when results travel. A spreadsheet may pass from a student to a teacher, from a nonprofit analyst to a colleague, or from a reporter’s notebook into a published story. Without context, the file can outlive the explanation that once made it intelligible. Documentation carries some of that explanation along.
An analysis plan is a short account of what you intend to find out and how you expect to approach it. It need not be grand. A page of plain language can be enough: state the question, identify the population or material you will examine, name the main measures, and note any comparisons you expect to make.
Writing down the plan before inspecting every possible pattern can help keep an exploratory observation from being mistaken for a prediction made in advance. That distinction does not make exploration suspect. Looking around is often how useful questions emerge. The important thing is to say when a question arose and whether the analysis changed in response.
A plan is not a promise to ignore what the data reveals. It is a point of reference. If the question changes, record the change and why it made sense.
A codebook explains what the columns and values in a dataset mean. It is the difference between a column called grp and a reader knowing whether that column refers to age group, treatment group, or something decided during a hurried export.
For each variable, record its name, plain-language definition, units where relevant, possible values, and how missing or special values are represented. If a value such as 99 means “not reported” rather than ninety-nine, say so explicitly. If categories have changed over time, explain when and how.
Keep definitions close to the data they describe. A separate note can work, but it should be easy to find and clearly tied to the dataset’s version. When building a codebook, the distinctions introduced in Data Basics and Types of Data can help clarify whether a field is a category, a count, a measurement, or something else.
Analysts commonly tidy data before working with it. They may remove duplicate rows, standardize inconsistent labels, combine files, convert dates, or calculate new measures. These steps can be sensible and necessary; they can also alter what a later reader sees. A transformation note explains what changed and why.
Useful notes are specific enough to be checked. “Cleaned the data” is a heading, not an account. Better: “Standardized the region labels by mapping ‘N. District’ and ‘North District’ to ‘North District’; no other labels were changed.” For exclusions, record the rule and the number of records affected when that information is available.
| When | What changed | Why | Effect or check |
|---|---|---|---|
| May 12 | Standardized date format | Source files used two formats | Checked earliest and latest dates |
| May 13 | Excluded duplicate record IDs | One record per ID required | Removed 8 duplicates; retained first entry |
The example is illustrative, not a universal recipe. In another project, retaining the first entry might be inappropriate. The point is to make the rule inspectable, not to imply that one cleaning decision suits every dataset. For further guidance on provenance, missing values, and limitations, see Assessing Dataset Quality.
Files named final, final-new, and final-really-final are a familiar form of institutional folklore. They preserve evidence that work happened, but not necessarily which version produced a reported result. A simple version history is kinder to everyone involved.
Use a consistent naming pattern that includes a date or version number, and keep a short change log: what changed, when, and who made the change if that is relevant. Preserve the original source file separately from working copies. If a value is corrected or a definition revised, note the reason rather than silently replacing the earlier state.
For small projects, a dated folder and a plain-text log may be entirely adequate. For collaborative or frequently updated work, version-control tools can record changes in greater detail. The method matters less than the principle: a reader should be able to tell which materials belong together and what changed between versions.
A reproducible workflow allows another person to follow the steps from source material to result. It does not require every reader to use code. A carefully labeled spreadsheet, a clear sequence of written instructions, or a documented calculation can be reproducible if the inputs and decisions are available and the steps are specific enough to repeat.
When software or scripts are involved, record the tool and version where practical, identify the input files, and explain how to run the process. Keep outputs distinct from source data, and describe any steps that still require human judgment. If a workflow depends on access that cannot be shared—for example, restricted or sensitive records—explain that boundary and provide as much non-sensitive documentation as possible.
Reproducibility should not be confused with certainty. Repeating the same steps can reveal whether a result follows from the recorded process; it cannot, by itself, prove that the original data were complete or that the underlying measure captured everything that mattered. Clear limits are part of a useful record.
Suppose a community group tracks requests for assistance across several months. One volunteer exports the records, another summarizes them, and a third prepares a short report. A compact documentation folder might contain:
That last point is not an apology. It is part of the meaning of the result. A count of recorded requests describes recorded requests; it does not automatically describe every need in the community. Documentation helps keep the boundary in view.
Where a project involves sensitive information, responsible record-keeping also means avoiding unnecessary personal details and considering who can access each file. The principles in Using Data Responsibly are a useful companion.
Notes such as “fixed the odd rows” may make perfect sense on Tuesday and none at all three months later. Name the issue and the action taken.
A final number rarely explains which records were excluded or how ambiguous values were interpreted. Keep a record of the path, not just the destination.
Reconstructing decisions from memory is difficult. Brief notes made during the work are usually more accurate and take less time.
A workflow may be repeatable while a source is unavailable, revised, or incomplete. Describe those conditions rather than calling a result universally reproducible.
Documentation need not become a second analysis, or an archive of every passing thought. Its purpose is to make important choices legible. A careful reader should be able to tell what question was asked, what material was used, how it was prepared, which steps produced the result, and where uncertainty or limitation remains.
That standard serves more than auditors and researchers. It helps teachers explain a method, journalists verify a figure, nonprofit teams hand work between colleagues, and curious readers understand how a claim was assembled. Most of all, it gives the analysis a memory. The numbers may be compact; the reasoning behind them should not have to be reconstructed from rumor.
For related guides, explore Statistics Essentials for summaries and distributions, Sampling and Bias for questions about who is represented, and Evaluating Claims in Charts for assessing what a published visual can—and cannot—support.