Data quality action plans
Every critical data asset needs a data quality action plan (DQAP), or an equivalent. Check a plan you have, build one step by step, or test your own process against the seven steps.
Everything happens on your device: files you open and answers you give are not sent anywhere. This is an aid to get your plan right, not an assessment or approval by GDS.
What the policy asks
Fixed. Every critical data asset must have a data quality action plan, or an equivalent, so there is a mechanism for managing its quality. Policy
Source:
Up to you. The form of the plan. If you already have a way of managing the quality of your critical data, review it to make sure it covers all the steps in the DQAP implementation guide. Policy
Whatever form the plan takes, you need a record of the actions taken, results that are reported, and a set way to keep monitoring quality over time. GDS position
Source:
Source: Data Asset Management Policy in government: section 6, Data quality action plans (GOV.UK) (opens in a new tab); Data quality action plan: implementation guide: What a DQAP is (GOV.UK) (opens in a new tab)
A plan is checked against these points:
- Names the asset and what the plan covers. A plan for one data asset, with its title and scope.
Source: Data quality action plan: implementation guide: What a DQAP is (GOV.UK) (opens in a new tab)
- Step 1: Critical data items identified, each with a purpose. The data items that matter most, and what each is used for.
- Step 1: Known quality issues logged. A log of the quality issues you already know about.
- Step 2: Rules set, each with a dimension, a measure and a target. Data quality rules tied to user needs, each measured on a dimension against a target.
Source: Data quality action plan: implementation guide: Step 2: Identify data quality rules (GOV.UK) (opens in a new tab); Data quality action plan: implementation guide: Step 2, Use data quality dimensions (GOV.UK) (opens in a new tab); Data quality issues framework: Set a data quality target (GOV.UK) (opens in a new tab)
- Step 3: Current quality measured against every rule. A dated result for each rule, so you know where quality stands now.
Source: Data quality action plan: implementation guide: Step 3: Assess current data quality (GOV.UK) (opens in a new tab); Data quality action plan: implementation guide: Step 3, Document findings (GOV.UK) (opens in a new tab)
- Step 4: Problems prioritised. Each rule that misses its target is a recorded issue with a priority.
Source: Data quality action plan: implementation guide: Step 4: Prioritise improvements and set goals (GOV.UK) (opens in a new tab); Data quality issues framework: Assign a priority to a data quality issue (GOV.UK) (opens in a new tab)
- Step 5: Root causes found and actions owned. A root cause for each issue, and actions with an owner and a date.
- Step 6: Results reported. Results are reported to the people who use and own the data.
Source: Data quality action plan: implementation guide: Step 6: Report on data quality (GOV.UK) (opens in a new tab); Data quality action plan: implementation guide: Step 6, Responsibilities of data owners (GOV.UK) (opens in a new tab)
- Step 7: Quality measured again over time. A measurement frequency and a next review date, and results recorded over time.
- No template examples left in. The worked examples that come with the template have been replaced by your own rows. Suggested practice
GDS publishes a DQAP template (Excel, GOV.UK) (opens in a new tab) with the guide. You do not have to use it, but this tool can read it.
Check a plan you have
Open a filled-in copy of the GOV.UK template. The tool reads it on your device and shows what is in place and what is missing, with the part of the guide that asks for it.
No workbook? Build the plan here instead, or test your own process.
Build a plan step by step
Fill in each part as you work through the seven steps. Your plan is saved on this device as you type. Check it at any time.
Your plan
Using your own process instead
If you already manage quality another way, the policy asks you to check that your process covers all seven steps of the guide. Answer for one critical data asset.
Does your process cover the seven steps?
Join it to your catalogue
The GOV.UK metadata guidance for critical data assets has no field for quality, and the return asks only whether a plan is in place. A catalogue can hold the detail with the W3C Data Quality Vocabulary (DQV), which DCAT, the standard most catalogues use, points to for quality. The download above follows this mapping.
| Part of the plan | In the GOV.UK template | DQV or DCAT term | How it is used |
|---|---|---|---|
| The asset | Details: data set title | dcat:Dataset | The catalogue record the plan is about. Use the identifier your catalogue already gives it. |
| The plan itself | The whole workbook | dqv:QualityPolicy (also odrl:Policy) | DQV's anchor for a policy governed by quality concerns. odrl:target points it at the dcat:Dataset. |
| A rule and its metric | Rules: rule, metric, method | dqv:Metric | skos:prefLabel for the rule, skos:definition for the metric, dqv:expectedDataType xsd:decimal. |
| The dimension | Rules: data quality dimension | dqv:Dimension (skos:Concept) | One of the six GOV.UK dimensions, published here as a SKOS concept scheme. dqv:inDimension links the metric to it. |
| A target | Rules: target | odrl:Duty with an odrl:Constraint | The pattern in DQV section 6.12: the constraint is derived from the metric (prov:wasDerivedFrom), operator odrl:gteq, value the target. |
| A result | Results: one dated value | dqv:QualityMeasurement | dqv:computedOn the dataset, dqv:isMeasurementOf the metric, dqv:value, and dcterms:date the day it was measured. The dataset points to it with dqv:hasQualityMeasurement. |
| An issue, its cause and actions | Issues log, Causes, Actions | dqv:QualityAnnotation | oa:hasTarget the dataset, oa:motivatedBy dqv:qualityAssessment, a textual oa:hasBody with the priority, root cause and actions. The dataset points to it with dqv:hasQualityAnnotation. |
| Who is responsible | Details: technical lead | PROV-O | prov:wasAttributedTo names the role responsible for the measurements. Add prov:generatedAtTime when your tool records the exact time. |
The six dimensions
The guide starts from six dimensions defined by DAMA UK Policy. DQV leaves the choice of dimensions to you, so they are published here as a shared list that catalogues can point to: Turtle or JSON-LD. Each is matched to the W3C linked data quality dimensions only where the meanings agree.
- Completeness: All required records and critical values in a data asset are present.
- Uniqueness: Each record is unique, with no duplicates in the data asset.
- Consistency: Data values do not contradict each other within or across data assets.
- Timeliness: Data is up to date and reflects the appropriate period for its intended use.
- Validity: Data is in the expected range and format, conforming to predefined rules.
- Accuracy: Data correctly represents the real-world entities or events it is intended to describe.
Source:
Other open standards that help
- SHACL (opens in a new tab): Write a rule so a machine can run it against RDF data. DQV itself suggests it for value constraints.
- CSV on the Web (CSVW) (opens in a new tab): Describe the columns of a CSV file and the formats they must follow, so a validator can check them.
- RDF Data Cube (opens in a new tab): Every dqv:QualityMeasurement is a Data Cube observation, so a run of results can be published as one table over time.
- PROV-O (opens in a new tab): Record who measured, with what tool and when, so results can be trusted and repeated.
- ODRL (opens in a new tab): Express targets and obligations, as DQV does for quality policies.
- SKOS (opens in a new tab): Publish your dimensions and categories so other catalogues can match them.
Sources: Data Quality Vocabulary (DQV), W3C Group Note (opens in a new tab). DCAT version 3, section 14: Quality information (opens in a new tab). DQV section 6.12: Express the conformance of a dataset with a quality policy (opens in a new tab). Linked data quality dimensions (ldqd), W3C (opens in a new tab).
More help
- Implement a data quality action plan (GOV.UK) (opens in a new tab): the guide, the issues framework and the template.
- Data quality playbook (opens in a new tab): the seven steps in practice, with checklists, roles and templates.
- Check a CSV file against rules in the browser (opens in a new tab) and score issues with the issues framework (opens in a new tab) (Data Quality Commons).