Paul Bădărău

Correct the dataset people already downloaded

How to get a data correction to people who already use the original release.

Two printouts of a data table lie side by side with one change circled.

On 16 September the Office for National Statistics published a workbook explaining an error in how some products had been classified in its consumer prices data. The ONS said the main inflation growth rates and the divisional rates were unaffected, while some lower-level growth rates for February to July differed by up to 0.2 percentage points in either direction. Under its consumer prices policy it left those earlier indices as published and fixed the underlying error for the September release. The explanatory dataset gives people working with the affected detail somewhere to look, even though the headline they may have seen carried on as before. ONS correction and accompanying dataset

I'd copy the account of how far the mistake reached. Give readers enough detail to recognise an affected figure in their own work even if your policy on replacing past releases differs.

Work out who got the wrong answer

Suppose a charity publishes quarterly counts of advice sessions by area. Two postcodes were assigned to the wrong district. The published total of 620 sessions is right, but 17 belong in East District and currently sit in North District. The annual statement quoting the total needs a quick check. A partner's committee paper comparing district demand needs a call before the meeting. A note that says "minor mapping issue" leaves both readers to work out what that means on their own.

Open the published file and follow the affected numbers into the places your team knows about. Check the chart on the download page and the workbook sent to partners. Then look at recent emails to the funder for any figures staff copied from the table. Write down which periods and districts are affected. If the mistake started when somebody changed how a postcode was mapped, check the first release using that mapping and the releases after it. Be explicit about any period the team hasn't yet checked.

A correction also needs a person who can confirm why the new figure is right. In this example it might be the advice lead, who recognises the two postcodes, working with the analyst who can run the count by both old and new district. Save the check with the files. In a month, somebody will want to know whether the total held because the discrepancy was fully understood or because the only calculation anyone tried happened to match.

Decide what somebody will get if they download again

If both values can circulate safely, leave a way for a reader to identify the earlier release and point them clearly to the preferred one. Put the version in the filename and inside the workbook, so a reader can still check it after renaming the download. Keep the main URL useful and put the correction beside the file. State which sheet and columns changed and how someone can tell which copy they have. A partner checking a copy filed last quarter should be able to tell from that copy without relying on when the file claims it was last opened.

Some files need to come down while the team investigates. A tab with private information calls for a different response from a wrong label on a public total. Stop distribution through the routes you control and involve whoever handles disclosures. Tell people what they need to do with any copies they already have. You can often leave the original landing page in place with an explanation that a file has been withdrawn and a contact for questions, even when the content itself has to be removed.

If the numbers will keep their original values for a past release, say that in the note and explain where the effects are listed. If you're replacing the figures, state where and when. Keep any machine-readable version information in the same place a regular importer can find it. An analyst shouldn't have to spot a new sentence in a blog post to know that the file their scheduled import fetched under the same URL has different values.

If a regular importer has already loaded the old rows, give them enough detail to replace the affected period. A new file appended to the previous quarter's file could give them two versions of the same district count. Tell them which version replaces which and supply a small before-and-after table if that's the easiest check. The analyst can then compare the rows in their own workbook with the change you intended.

Reach the people who used the file

Start with the people whose decisions may change. In the example, send the two district totals and the affected period to the partner comparing demand. Give them the corrected source link and offer to check the calculation they relied on. If they've already circulated their paper, ask which version they can replace and how late they can do it. A quiet upload of a new workbook does little for the person presenting from a printed copy.

Use the public notice for everyone you can't reach directly. Write for somebody who arrives there after seeing a number elsewhere. Name the old value, where it appeared and the new value if you're publishing one. Put the action in the same paragraph. If someone used only the overall session count, tell them that count still adds up to 620. If they broke out the two districts, point them to the corrected rows and give a contact for questions about further calculations.

Ask the team that owns the public chart to check what it's showing after the change. A page can embed a saved image or use a separate extract. Open it as a visitor, find the corrected district and compare the figure to the corrected file. Do the same with one partner if they're willing. If a partner still sees the old figure, ask which link they used and check whether it points to a separate copy.

Leave a test that can catch the same error

Put the two known postcodes into the checks people run before release, and add a case for a postcode the mapping doesn't recognise. Agree how it'll appear for review. It may need to stay visibly unassigned until the team has resolved it. Keep a check by district alongside the total so a transfer between areas has somewhere to show up. A short note about where the mapping comes from will help the next analyst replace it when boundaries change.

For the next quarter, give the analyst the corrected workbook, the record of the mapping change and the link the partner actually uses. Ask them to put the North and East figures side by side with the last published quarter before the file goes out. The same comparison can go to the advice lead, who can ask about a change in where sessions happened while there is still time to check it.