Data quality
How to understand the quality of the FOI data, how to describe it honestly when you publish a figure, and how to calculate it yourself. Figures describe what public bodies published in their disclosure logs, not all FOI activity.
1. Understand
The data has two kinds of quality. They answer different questions, and we never merge them into one score.
Coverage (body level)
Did this body's data get extracted at all? Each body publishes disclosure log files. Some can't
be read automatically. In the derived tables this is files_total, files_valid,
files_failed, files_processed_share and crawl_status. Right now
0 of 115 bodies have at least one file that could not be read.
Record confidence (record level)
How sure are we of this row? The extraction process flags records it was unsure about, in
known_issues, and lists fields the source file did not provide, in missing_columns. Right now
1,904 of 57,685 records (3.3%) have at least one
known_issues entry.
A known_issues entry looks like
{"field": "decision_date", "issue_type": "TextInDateColumn", "raw_value": "No"}: which field,
what kind of problem, and the raw text that caused it. A flagged record is less certain in that specific way,
but is not necessarily wrong.
Why separate? A body with perfect coverage can have messy records, and a body with a few unreadable files can have very clean ones. One number would hide which it is. Upstream's documentation says the same: never combine them.
Normalised values
Raw outcome and requester values are messy: hundreds of spellings. We map them to a small set of terms using
published vocabularies. Values not in a vocabulary are counted as unmapped,
and empty values as missing, never folded into "other". The build fails if fewer than
95% of non-empty values map. Media requesters are counted as journalists.
2. Explain
When you publish a figure, say what it is based on and how sure you are, in the same breath. Here is a caveat you can copy, filled in with real figures for Department of Housing, Local Government and Heritage:
Based on 4,174 FOI records published by Department of Housing, Local Government and Heritage between 2012 and 2026. Department of Housing, Local Government and Heritage published 59 disclosure log files, of which 56 could be read automatically. 2.1% of these records were flagged as uncertain by the extraction process. Source: publicinformation.ie, FOI Disclosures (build 20261127), CC BY 4.0, data as of 27 November 2026.
Shorter versions, for a chart footer:
-
Source: publicinformation.ie, FOI Disclosures, CC BY 4.0. Rates exclude records with no recorded outcome and bodies with fewer than 20 decided requests. -
Figures describe FOI requests that bodies chose to publish in disclosure logs, not all FOI requests.
Always include:
- the denominator (
decided) next to every rate; - the period (
first_yeartolast_year), and say if the current year is partial; - both quality levels, separately: how much of the body's data was read, and how many records were flagged;
- the as-of date (2026-11-27) and a link to a pinned release.
3. Calculate
Everything in the derived tables can be recomputed from the raw data. Here is how, in three tools.
Google Sheets or Excel
Import the table, then compute both levels yourself:
=IMPORTDATA("https://publicinformation.ie/data/derived/foi-bodies.csv")
Coverage, row 2: =AH2/AG2 (compare with files_processed_share, column AJ)
Record confidence: =AL2/G2 (compare with flagged_share, column AM)
Recompute a rate: =K2/R2 (compare with refusal_rate, column AE)
Why is a rate blank? look at suppressed_reason, column AP SQL (DuckDB)
-- Recompute the refusal rate from the published counts, and spot any difference
SELECT name, refused, decided,
round(refused::DOUBLE / decided, 4) AS recomputed, refusal_rate
FROM read_csv('https://publicinformation.ie/data/derived/foi-bodies.csv')
WHERE refusal_rate IS NOT NULL
AND abs(round(refused::DOUBLE / decided, 4) - refusal_rate) > 0.00005;
-- See why rates were left blank
SELECT suppressed_reason, count(*) AS bodies
FROM read_csv('https://publicinformation.ie/data/derived/foi-bodies.csv') GROUP BY 1;
-- Record confidence, from one body's raw records (replace 1010 with a public_body_id)
SELECT count(*) AS records,
count(*) FILTER (WHERE len(known_issues) > 0) AS flagged,
round(count(*) FILTER (WHERE len(known_issues) > 0) / count(*), 4) AS flagged_share
FROM read_ndjson('https://data.publicinformation.ie/latest/foi-disclosures/bodies/1010.ndjson'); Python (pandas)
import pandas as pd
bodies = pd.read_csv("https://publicinformation.ie/data/derived/foi-bodies.csv")
bodies["recomputed"] = (bodies.refused / bodies.decided).round(4)
print(bodies.loc[bodies.refusal_rate.notna(), ["name", "refusal_rate", "recomputed"]].head())
# Record confidence for one body, from the raw records
raw = pd.read_json("https://data.publicinformation.ie/latest/foi-disclosures/bodies/1010.ndjson", lines=True)
print(raw.known_issues.str.len().gt(0).mean()) # share of records flagged The rules we apply
These are fixed in code and listed in each table's column dictionary.
| Rule | Value | Effect |
|---|---|---|
low_count | decided < 20 | Rates are left blank, never shown as 0. |
field_mostly_missing | more than 50% of the field missing | Rates are left blank. Reported first when both reasons apply. |
| Year | decision date, else received date, 2010 to 2026 | Free text, 1900 or 2034 are treated as undated, and counted in records_undated. |
Flags
Figures with a flag are still published, but should be caveated.
| Code | Meaning |
|---|---|
partial_year | A by-year row for the current year. The year is not over, so counts are incomplete. |
partial_coverage | The body has at least one disclosure file that could not be read (files_failed > 0). |
high_flagged_share | More than 10% of the row's records have a known_issues entry. |
high_unmapped_share | More than 5% of the non-empty outcome or requester values are not in the vocabulary. |
In the current build, 115 bodies are in foi-bodies: 46 with rates blank (field_mostly_missing), 28 with rates blank (low_count).
How to cite
Source line, for a chart or an article
Source: publicinformation.ie, FOI Disclosures (build 20261127), CC BY 4.0, data as of 27 November 2026.
Pinned release (never changes)
https://releases.publicinformation.ie/foi-disclosures/
https://releases.publicinformation.ie/foi-disclosures/v<schema>/20261127/ (each release folder includes SHA256SUMS)
For a paper (APA)
publicinformation.ie. (2026). FOI Disclosures (build 20261127) [Data set]. CC BY 4.0. https://publicinformation.ie/data/foi/
Licence: CC BY 4.0. Attribute, and say if you changed the data.