Data quality checks that run while the data comes in
Most data quality work happens too late. A household size of 45 or a respondent aged 4 gets spotted during cleaning, weeks after the round closed, when the enumerator has moved on and the household can't be found again. By then the choice is between keeping a figure you don't trust and dropping it, and either way it shapes what goes in the report.
Quality Manager moves those checks to when the data arrives. Every submission is checked against the validation rules on the indicators it feeds, as soon as it reaches MERL Studio, and each problem becomes an issue someone can resolve while the fieldwork is still running. The same place also watches the fieldwork itself: tasks running late and enumerators who've stopped submitting.
The examples below come from a hypothetical food security survey of 600 households, collected by eight enumerators each quarter.
Validation rules
Rules belong to indicators, so they're written once in the Indicator Registry and apply to every form that collects that indicator. The household survey uses five kinds:
| Rule | In our programme |
|---|---|
| Range | Household size between 1 and 20 |
| Comparison | Women trained in a quarter can't exceed everyone trained in it |
| Change over time | Cumulative households reached can never fall |
| Freshness | Market prices are no more than 45 days old |
| Consistency check | A household whose diet is poor shouldn't report almost no coping |

The Food Consumption Score (FCS) measures how varied and frequent a household's diet was over the past week, and the reduced Coping Strategies Index (rCSI) measures how often it relied on things like smaller or fewer meals. A household with a Poor FCS and an rCSI of 3 or less is possible, but it's unusual enough that someone should look. A consistency check is built from conditions like these, picked from a list of indicators. The issue it raises names the rule and shows the answer that failed it.
The simplest rules also run on the enumerator's phone. A critical range, required, pattern or type rule stops the form being saved, so the household size of 45 is caught in the house, where it's easy to fix.
Resolving an issue
Each issue says which rule failed, what the value was, who collected it, when, and on which version of the form. There are up to four ways to close it. Correct the value is only offered for an answer someone entered. A figure MERL Studio calculates from other answers, such as the rCSI, can't be corrected directly; ask for the answers behind it to be re-collected instead.
| Option | When |
|---|---|
| Correct the value | You know the right answer. The indicator updates, and the original stays in the audit trail |
| Ask for it to be re-collected | Send this answer, or the whole form, back to a fieldworker. It appears in their Field Portal, and the new answer replaces the old one |
| Confirm it's correct | The value is right, however odd it looks |
| Exclude from analysis | Keep the value on record but leave it out of indicator results |
Quality Manager also closes issues on its own, in two cases: when the rule that raised one has been deleted or switched off, and when the value now passes the rule as it stands, because the rule's range was widened, say. It never closes an issue because a value looks plausible, and it never reopens one you've closed, because deciding whether a value is right is left to a person. The help centre covers each option: Resolving an issue.

Quality scores
From the issues, Quality Manager works out four scores for every indicator. Completeness is the share of readings that aren't missing. Accuracy is the pass rate on range, pattern and type rules. Consistency is the pass rate on comparison, change-over-time, outlier and consistency checks. Timeliness is the share of readings collected inside a reporting period.
A score is only worked out when there's a rule to work it out from. An indicator with no range rule has no accuracy score at all, rather than 100%, because nothing was checked. Otherwise an indicator with no checks would show the same 100% as one that passed fifty.

The overall score travels with the indicator. When it's low, the indicator's Intelligence tab shows a caveat above the result, but the result itself is still shown.
Fieldwork alerts
The second half of Quality Manager looks at whether the work is happening. It reads the tasks the Activity Planner generates and raises an alert when one is a week overdue, when one has sat unassigned past its due date, or when an enumerator with open tasks hasn't submitted anything for two weeks. Each threshold can be changed for the workspace, and overridden for a single activity.

These alerts resolve themselves. When the overdue task is done or the enumerator submits again, the alert closes, so the list only shows problems that are still open.
Since launch
In July, the overall quality score started feeding the Intelligence dashboard. In September, rules learned to compare one indicator with another and to check change over time, so a reporting period's figures could be checked as a whole as well as one answer at a time. In October, Run checks made it possible to run everything on demand instead of waiting for the nightly pass. In November, consistency checks arrived.
Setting it up
Quality Manager is in every MERL Studio workspace, including free ones. Rules are added on each indicator's Validation Rules tab in the Indicator Registry, and the help centre lists every rule type and when it runs: Validation rules reference. Start with Getting started for a tour of the app.