Skip to content

Getting Started with Data Framework

The Data Framework is where you define the entities your programme tracks — the schema that drives data collection, indicator aggregation, and field portal sync.

An entity type is a named schema for a category of tracked thing. MERL Studio includes three baseline participant types (Individual, Household, Group) that exist in every workspace. You can also define custom resource types for things your programme tracks — boreholes, plots, health facilities, cooperatives, and so on.

The three baseline participant types are pre-seeded in every workspace:

  • Individual — a single person
  • Household — a household unit
  • Group — a collective grouping

You can rename any participant type to match your programme’s terminology (e.g., rename Group to “Cooperative” or Individual to “Beneficiary”). You can also extend any participant type with additional workspace-specific fields.

Resource types are entirely workspace-defined. Click New resource type to create one — just give it a name. A stable internal identifier (used in data exports and expressions) is generated and kept unique for you automatically, and the display name stays renameable.

Every entity type has a list of fields — the details you record about each record. Built-in fields (like “Full name” on Individual, marked with a padlock) can’t be removed, but you can add your own with Add field, which first asks what kind of information the field will hold:

Kind Use for
Short text Names, identifiers (up to 255 characters)
Longer text Notes, descriptions
Whole number / Decimal number Counts, measurements, areas
Date / Date and time Registration dates, inspection dates
Yes / No Simple flags
One choice from a list e.g. Sex, District
Several choices from a list e.g. subjects taken
Location (GPS) Where a site or household is
Link to another record e.g. the school a learner attends

Click a field to change it. The settings are the same for every field — Required, Data classification, Used for disaggregation — each with a short explanation beside it. Limits most people never need (maximum length, lowest and highest values, date ranges, GPS accuracy) are under More options. The ⋯ menu on each field lets you deactivate or delete it.

A Data classification (participant and resource attributes only) hides the attribute’s values from anyone not cleared for that classification. The list of classifications is managed in Workspace Settings ▸ Data classifications.

A field stores a current value, not a history. When you update a participant’s district or income band, the new value replaces the old one — there is no record of what it used to be, and no way to ask what it was last March.

That is deliberate, and it is the other half of a simple rule:

If an attribute describes what something is, make it a field. If you need to know how it changes, make it an indicator.

Indicators keep every reading, dated, so they are what you use to show movement over time.

Most attributes are stable enough that it never matters — sex, date of birth, the district a school sits in. For attributes that genuinely drift, the question to ask is what you want to do with them:

You want to… Use
Know a household’s current income band A field
Show how income bands shifted across the programme An indicator
Split this year’s results by income band A field (see below)
Compare a participant’s score before and after An indicator

You can do both: keep the field for the current picture, and add an indicator to track the change.

A common worry is that editing a record rewrites history — that correcting a household’s district would re-file its baseline data under the new district. It does not. When an indicator reading is collected, the subject’s disaggregation-eligible attributes are copied onto the reading at that moment. Round-one figures stay disaggregated by round-one attributes no matter what you edit later.

The exception is counts. A count indicator has no stored reading to copy attributes onto — it answers “how many records match?” by looking at the records as they are now. So if you correct ten participants’ district today, a count disaggregated by district will report differently for past periods than it did yesterday. That is usually what you want from a correction, but it is worth knowing before a large bulk edit.

New fields are used for disaggregation by default wherever their kind allows it (everything except text, location and links). Turn it off for a field that shouldn’t be offered as a breakdown in the Indicator Registry. Only eligible fields appear there, and only for indicators whose aggregation target is this entity type.

Choose fields with a small, stable set of values — sex, district, age band, disability status. A free-text field or one with hundreds of distinct values produces a breakdown nobody can read.

Note that disaggregation always comes from fields, never from indicators. If you promote a drifting attribute to an indicator so you can track it, you will no longer be able to split other indicators by it — so for anything you both track and slice by, keep the field as well.

A field with choices keeps its list on the field itself. Just type a label for each choice; the stable internal value behind it is generated and kept unique for you. Each entity type owns its own lists, so the same list can appear on two types.

To stop offering a choice without losing the records that already use it, choose Hide from new entries from the choice’s ⋯ menu. Hidden choices stay greyed in the list and can be shown again.

How the Data Framework connects to other tools

Section titled “How the Data Framework connects to other tools”
  • Indicator Registry — when defining an indicator, the aggregation target selector is populated from the entity types defined here.
  • Data Collection Designer — instruments can target entity types and bind questions directly to framework fields.
  • Field Portal — the compiled schema is synced to the field portal for offline form rendering and validation.