Skip to content

Quality Data

Quality Data measures the quality of an organisation’s data. It reads the tables of the databases the organisation already runs, checks every record against rulesRule It applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. written by the people who know the data, and turns the results into indicators people can follow and into queues of data to fix. It only reads: the data is fixed where it lives, and the next cutCut The dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. shows the fix. It is one of the applications of the Government Data platform.

Most organisations know their data has errors, but not how many, where, or whether it is getting better. Quality Data changes that:

Without it With Quality Data
Checks are scattered across capture screens, reports and spreadsheets Every check is a ruleRule It applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version. in one catalog, a few lines of text that whoever knows the data can write, read and review
A check alerts on some records, and nobody sees the whole picture Every rule runs on every record of a table, and the results add up to indicators
Quality is measured by hand, now and then, in a way nobody can repeat CutsCut The dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment. run on a scheduleSchedule What starts a dataset's cuts on its own: daily, weekly, monthly…; dates are compared with the cut’s date, so measuring a cut again gives the same result
What a check does drifts away from what its description says Each rule is explained in words from the same definition that runs it
A rule changes and nobody knows who changed it, or why the figures moved A rule counts only once it is approved, and its history keeps who changed what and when
Errors are fixed in the order someone happens to notice them Failures are grouped into remediation queuesRemediation queue The findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up. per office, region or channel, each with an SLAService level agreement A measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. in days

Each person gets what they need through the policiesPolicy A set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer. an administrator gives them. The product ships with ready-made policies for the usual roles:

Role What they do in Quality Data Policy
Data steward: writes rulesRule It applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version., reads indicators Connects sourcesSource A database the organisation already runs. Quality Data reads it and never writes to it., maps tables into datasetsDataset One table of a source as Quality Data reads it: a name, its fields and the rules that check them., writes, tests and approves rules, runs and schedulesSchedule What starts a dataset's cuts on its own: daily, weekly, monthly… cutsCut The dataset's data as it was on one date, copied into the lake so it can be measured again without touching the source. Every figure of a report refers to that moment., sets the queues’ SLAsService level agreement A measurable commitment of time; a remediation queue's SLA is the days allowed to fix its findings, 30 unless someone sets another. quality-steward
Analyst: works a remediation queueRemediation queue The findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up. Reads which groups have the most open findingsFinding A record that fails a rule at a cut. It is resolved when a later cut no longer fails it. and their priority, and gets the failing records fixed in the source system quality-analyst
Manager or compliance reader Reads the dashboardsDashboard Each dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and indicators, never a record’s values quality-viewer, or auditor, which also reads the audit trailAudit trail The record of who did what and when: changes, runs, and every view of a source's values. Read with the auditor policy.
Administrator Installs the product and keeps it running: user accounts, groups and policies, sign-in, mail and updates, under Settings The Administrator role

Values read from a source come masked. Whoever’s policies let them see personal dataPersonal data Values from a source about a person. They are shown whole only to policies that allow View personal data, such as quality-analyst; anyone else sees them masked, and every whole view is recorded in the audit trail. may show them whole, saying why, and every view of them is recorded in the audit trail with its reason.

  • Explorer, in the side bar: the sourcesSource A database the organisation already runs. Quality Data reads it and never writes to it. and their tables, the datasetsDataset One table of a source as Quality Data reads it: a name, its fields and the rules that check them. made from them with their Cuts, Schedules and Dashboard, and the Lake, where the product keeps its copies of the data.
  • Sources: the databases Quality Data reads, with their credentials stored sealed.
  • Rules and the rule editor: write a rule, see it said in words (As read), Test it on real data, and take it to the approved version directly or through a draftDraft A change to a dataset's rules kept apart from main, usually saved by an author who may edit rules but not approve them, until someone who may approve reviews it and approves or discards it. that someone approves.
  • Cuts and Schedules: take a dataset’s data at a date and measure it, now or on a schedule.
  • Dashboard: one per dataset, with its indicators, its charts and its Remediation queues.
  • Lake SQLStructured Query Language The standard language for querying databases; the platform turns each rule into SQL for the engine that runs it. console: read-only queries over the product’s copies of the data, in Structured Query Language (SQLStructured Query Language The standard language for querying databases; the platform turns each rule into SQL for the engine that runs it.), for stewards.
  • Settings: accounts, groups, policiesPolicy A set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer., sign-in through a company directory or an external provider, mail and updates.

Indicators that only make sense in one regulated sector are an optional part of the product; this part of the guide describes Quality Data as it applies to any organisation, and an optional module at its end covers regulated financial entities in Colombia.

  • Everyone: read Concepts first. It walks the chain from a sourceSource A database the organisation already runs. Quality Data reads it and never writes to it. to a remediation queueRemediation queue The findings of one value of a grouping field, such as an office, a region or a channel, with an SLA in days. The dashboard lists the groups with the most open findings first, each with its priority added up. with one example, and defines the words the rest of the guide uses.
  • Administrators: Getting started: administrator installs the product and gives a colleague an account and a policyPolicy A set of permissions an administrator gives an account or a group. The product ships ready-made ones for the usual roles, such as quality-steward and quality-viewer..
  • Data stewards: Getting started: data steward connects a source, maps a table and measures a first ruleRule It applies a pattern to a field; the pattern gives it its dimension and a default severity. The rules that count are the ones on main, the approved version.; then the tutorial, Rule language, Rule patterns and Lint findings.
  • Analysts working a queue: Getting started: analyst finds a group’s queue and says what to do with it today.
  • Managers and compliance readers: Getting started: indicators opens a dashboardDashboard Each dataset's charts of the results of the cut chosen: conformity and IGCD by cut, failures by dimension and more. and reads its first indicators; then Reading the dashboard, From results to indicators and Formulas, with an example of each chart drawn with made-up data.
  • Looking something up: the Tasks pages say how each thing is done and who does it; the Reference pages, every key, patternPattern A reusable way of validating (required, format, fresh and eleven more). Each rule is a pattern applied to a field with its condition., findingFinding A record that fails a rule at a cut. It is resolved when a later cut no longer fails it., formula, chart and permission. Every underlined term shows its meaning when you point at it, tap it or reach it with the keyboard.
  • On paper: Download PDF gathers the whole guide on one page, to print it or save it as a PDF.

Government Data · Guide v0.8.1