HEADCHAPTER 19

Building the data function

A data function is built in an order: the constraint you name sets the first hire, the sourcing choice sets the roles, and hiring capacity, not the budget line, usually sets the pace

50 MINDATA AND MLUPDATED 2026-11-21
PREDICT

A new head of data at a 6,000-person company is allowed four hires this year, with a long list of requests from every department. Which plan do experienced heads of data tend to get right?

At the lead level you set the agenda: what the team builds, what it answers and what it stops. At the head level you also decide what the function is made of. That means which roles exist, in what order you add them, what you buy and what you build, how you pay for each and how fast the company can actually recruit them. The artefact is a hiring plan with a buy-or-build table for the platform.

This chapter does not re-teach how to diagnose the function or draw a roadmap, which is in data strategy and roadmap, or where analysts sit, which is in embedded, central or hub and spoke. It takes both as given and asks what you hire to carry them out. All salary and cost figures here are illustrative: they are chosen to make the sums checkable, not drawn from a salary survey, and you should replace them with your finance team’s loaded costs.

The model: jobs, roles and sourcing

A data function does five jobs, and each can be done by a person, a vendor or a contractor. The role names are covered in why data roles exist; what matters for a head is the table that joins them.

Job Role that usually does it Can it be bought?
Answer questions for decisions Analyst, data scientist Rarely; only the tooling
Define and model the numbers Analytics engineer Tooling yes, the definitions no
Move, store and secure the data Data engineer Largely yes: managed pipelines and warehouses
Build and run models Data scientist, ML engineer Partly: platforms and vendor scores
Govern: consent, access, quality A lead, plus analysts and engineers Tooling yes, the policy no

Read the last column first. The more of a job you can buy, the fewer builders you hire and the more owners you need: someone has to configure the product, check its output against your own figures and decide what it is allowed to do. Buying a platform does not remove the job. It changes the role from builds the pipeline to owns the pipeline we bought, and the second person is as hard to find as the first.

Start from the constraint, not a ratio

Heads are often asked for a ratio: one analyst per hundred staff, one data engineer per five analysts. Such ratios circulate because they are easy to quote. They are rules of thumb at best, they come from companies whose constraint you do not share, and no survey makes them a standard.

Use the four constraints from the roadmap chapter: question supply, trust, capacity and platform. Your diagnosis already says which binds hardest. Hiring follows it.

Take Ojaline’s team of ten: a head of data, two staff data scientists, three analysts, two analytics engineers, a data engineer and an ML engineer. Q3’s 96 requests, 31 of which asked for a number the team had already produced, an illustrative loaded analyst cost of ₦18m a year and a platform plan of ₦70m a year do not say “hire more analysts”. A fourth analyst costs ₦18m and joins a team where a large share of requests already re-derive a number someone else produced. The platform line is four times that sum and, if it works, removes the rebuilding. Which is right depends on the diagnosis. The point for this chapter is that the hire follows the evidence, and the head can show the evidence.

A second illustration comes from the other end. Kilnworth’s measurement team has three people serving five clients. A fourth person is not an analyst by default. If the three spend their weeks rebuilding five clients’ reports from raw exports, the fourth hire is an analytics engineer, who makes the rebuilding stop. If the reports are templated and clients ask questions the team cannot reach, the fourth is an analyst. The same headcount, a different hire, because the constraint differs.

Sequence the first hires

Each hire should make the next one more useful. A workable order, adjusted to your diagnosis:

  1. A lead, if you are not one. Someone has to own definitions and say no. A function without one drifts to whoever shouts.
  2. The role whose absence blocks the others. If nobody can reach the data, a data engineer. If two numbers disagree, an analytics engineer. If questions have no owner, an analyst.
  3. A second pair of hands in that area, before a third discipline. A single analytics engineer is a single point of failure.
  4. The data scientist and ML engineer once the data is trusted. A model on untrusted inputs gives wrong answers faster, and you end up funding a data engineer later anyway.

Two sequences fail often enough to name. The glamour hire brings in a senior scientist before the data is ready, and the scientist spends a year extracting and reconciling. The queue hire brings in four analysts to clear a backlog whose cause is definitions, and the backlog is back in two quarters.

Keep a slot open. A plan that fills every position on day one cannot respond to what the first two hires teach you. Holding one of four slots until the first two have been in the job for a quarter costs little and gives you a decision to make with better evidence.

Hiring capacity is a budget

The cost of a hire is only part of the constraint. The other part is how many people you can actually bring in. Count the hires your function closed last year, new roles and backfills together, and compare that count with what the plan needs. If Lumora’s data team closed five last year and the plan needs seven, you do not have a plan, you have a hope. Expect the gap to show as months of delay.

Include backfills. Attrition is real: Lumora’s team lost two of fourteen people last year, about 14%, so any plan that adds three roles also needs two backfills. Headcount, budget and cost explains in-year cost against run-rate, loaded cost and how to check a plan against recruiting capacity; use its method with data roles. A hire starting in March costs ten months of salary in the year and twelve every year after, and a role that slips from March to June changes the year’s budget and the first date the work arrives.

Levels and pay

Data roles need a ladder or you lose people to companies that have one. The track’s ladder is analyst, then data scientist, analytics engineer or ML engineer, then staff or manager, then head. Write what each level means in outcomes. A staff data scientist is judged on the trust the company places in its numbers, and a senior analyst on whether the person who asked could act. Do not base levels on tool names.

For pay, the honest position is that the market for data engineers and ML engineers overlaps with the market for software engineers, while analysts overlap with finance and operations roles. That is why Lumora’s illustrative loaded costs rise from ₦18m for an analyst to ₦34m for an ML engineer. Treat any figure you read as dated and local, and prefer your own recruiters’ offers and a named survey to a conference slide. Hiring, levelling and compensation covers bands, exceptions and drift. The data-specific risk is that one scarce skill, such as a platform engineer, gets paid above its band and the analysts next to them notice. Decide the exception rule before the first offer.

Hire for the work

An interview is a measurement, and hiring and interviewing covers scorecards, loops and debriefs. For data roles, add three points.

Match the loop to the job. Analysts need a SQL round and a case round in which a business question becomes an analysis. Scientists need a statistics or experiment round. Engineers need a coding or design round. ML engineers need a model or system design round. A loop that gives everyone the same questions measures the loop.

Use a work sample you can score. Give a small, real-looking dataset with a planted problem: a join that fans out rows, a date that changes meaning. Candidates who find it are showing the habit you need, and the sample works the same for every candidate.

Hire for the definitions as well as the code. The most useful analytics engineer is the one who asks why two teams disagree, not only the one who writes the cleanest model.

Buy or build the platform

Platform choices change the roles you hire for, so decide them before the plan, not after. The table below is the template for one such choice. It uses Lumora’s illustrative figures for the customer data platform Fergus wants. A customer data platform, as the CDP Institute defines the category, is packaged software that creates a persistent, unified customer database that is accessible to other systems. Build means doing the same on the warehouse Lumora already runs, with tools for sending audiences to channels.

Three years, ₦m (illustrative) Buy Build on warehouse Buy, then rebuild in year 3 Neither yet
Licence 780 0 520 0
Implementation or contractor, once 150 60 150, then 150 0
New hires, per year, then total 56, 168 86, 258 56 then 86, 198 0
Compute and tooling 0 330 110 0
Total 1,098 648 1,128 0
First audience live month 4 month 9 at best, month 12 if hiring slips month 4 none
Hires incl. backfills 3 plus 2 4 plus 2 3 plus 2, then 1 0

The analyst for consent and quality is needed under every option, so she sits in the hiring plan, not in this table. Check the sums. Buy: 260 a year for three years is 780, plus 150 once, plus 56 a year for three years, 168, gives 1,098. Build: 258 of people, 330 of compute and tooling at 110 a year, and 60 for a contractor to build identity matching gives 648. Buy then rebuild: two years of licence at 520, 150 to implement, two years of two hires at 112, then year three with three engineers and compute at 86 plus 110 plus 150 of migration, which is 346, gives 1,128.

Three things the table does not decide for you.

What the delay is worth. Build is ₦450m cheaper and arrives at least five months later; Lumora’s team, which closed five hires last year, will find the six hires build needs hard to land, so the realistic gap is eight months. Divide: ₦450m over eight months is about ₦56m a month of value that buying must create to pay for itself. Fergus estimates 5,000 subscribers retained a month, each worth about ₦2,800 a month in margin for six months, which is ₦84m a month. Odinakachi’s team re-derives the estimate from two earlier campaigns and gets a range of ₦65m to ₦90m. Even the low end clears the break-even, so the delay is expensive. This is an argument that depends on Fergus’s assumptions, not a forecast, and you say so in the paper.

What stays in-house. Whatever you buy, you still own the definitions of an active subscriber and a churned one, the rules for matching one person across SIMs, the mapping of consent to each channel and the check of the vendor’s output against your own figures. The pipelines and data modelling and metric definitions chapters cover that work. Governance of customer data is the subject of the next chapter, data governance and privacy.

What leaving costs. A purchase that cannot be left is a decision you have made for five years. Terms to ask for, such as a data export right, a notice period you can meet and a term short enough to revisit, are laid out in contractors, outsourcing and vendors. Keep the customer records in Lumora’s warehouse and let the vendor read them, if the product allows, so that leaving means changing a connection.

Where practitioners disagree

Specialists or generalists. Small teams often want people who can both model and pipeline. Generalists give flexibility and a single point of failure; specialists give depth and need a team large enough to hold them. Below about eight people, lean to generalists and name the one specialism you will hire first.

Build in-house or buy. One school says data is the company’s differentiator and a platform bought from a vendor will cap what you can do. Another says the plumbing is commodity and hiring engineers to rebuild it is a distraction. Reis and Housley, in their book on data engineering, discuss build against buy as a choice that depends on what gives you an edge; the practical test is whether the capability separates you from competitors or only keeps you level.

Contractors then hire, or hire directly. A contractor can start sooner and teach the team, but takes the knowledge when they leave. A direct hire is slower and keeps it. Many heads bridge with a contractor who trains the first hire.

One head, or a head and a deputy. Past about fifteen people, one head cannot run hiring, platform decisions and stakeholder work. Name the second lead before you are overloaded.

Where it goes wrong

The plan assumes hires you cannot make. Seven roles in a year for a company that closed five. Compare first, then plan.

The platform arrives and nobody owns it. The licence is signed and the owner role is still an open requisition. Hire the owner before the contract starts, or negotiate the start date.

Buy and forget to ask for a way out. The year-three renewal arrives with a price rise and no data export. Put the exit in the first contract.

Hiring ahead of definitions. New analysts each define the same metric a little differently. Settle definitions before you grow the team.

Treating the plan as fixed. Two hires land, teach you that the constraint was different, and the plan is not revised.

Day to day

A head’s hiring and sourcing work runs on rhythms.

Weekly, a thirty-minute hiring review with recruiting: each open role’s stage against its planned start month, and which interviews slipped. You also read the scorecards for any offer about to go out.

Monthly, you meet your finance partner to compare spend with the plan, including the in-year effect of any role that has slipped, and to look at vendor renewals due in the next 120 days. You hold one-to-ones with each lead about who is stretched.

Quarterly, you review the plan against the evidence: has the open slot been decided, did the first hires change the diagnosis, is a vendor delivering what the table said? You update the buy-or-build table with actual costs and dates, so that next year’s choice starts from facts. You also review levels and offers for drift.

Annually, you write the next hiring plan alongside the roadmap and budget, with last year’s closed hires and leavers at the top.

Whenever someone senior leaves, you decide within two weeks whether to backfill the role as it was, change it or hold it, because the answer is usually not the same job.

BY ORG SIZE
STARTUPunder 30 people

Under thirty people there is no data function to build and no head of data. The first data hire is usually a person who can write SQL and answer the founders’ questions, or a contractor for three months, and the platform is a warehouse and a few managed tools bought by the month. Do not hire a scientist. Write down five metrics and one definition for each, and make sure the person hired owns them. The sourcing choice is nearly always buy, because nobody has time to run anything, and the risk is not lock-in but an undocumented spreadsheet that only one person understands.

SCALE-UP30 to 300

At Larkhollow, with 120 engineers in eight pods and a data team of six with no analytics engineer yet, the chief executive has approved two hires. The question is which two. Count requests and failures first: if analysts wait on tables that nobody trusts, the first hire is an analytics engineer, and the second an analyst once definitions hold. Shape follows in the shape chapter. The head here still writes code, so hiring competes with delivery, and a contractor who trains the first hire can bridge six months.

ENTERPRISE300 and up

At Lumora, with 6,000 staff and a data team of fourteen, the function is small beside the company and the problems are queues and permission. Procurement, security, privacy and IT all review a platform purchase, so the buy route takes months before any engineer starts. Recruiting runs through a central team that fills many kinds of role, so data roles compete for its attention. The head spends more time on sponsors and the written case than on selecting tools, and the plan names what each reviewer must approve and by when.

ARTEFACT Write a hiring plan and a buy-or-build table ~75 MIN
YOU PRODUCEA hiring plan and a buy-or-build table for the platform

Template

# Data hiring plan and platform choice: <company>, <year>
Owner · Finance partner · Date · Review date

## The constraint
<Which of question supply, trust, capacity or platform binds hardest, in 1-2 sentences, with the evidence>

## Hiring plan
Load factor / loaded costs: <source, or "illustrative">
| Role | New or backfill | Start | In-year | Run-rate | What it unlocks |
|---|---|---|---|---|---|
Hires needed (incl. backfills): <n> · Closed last year: <n> · Gap: <n>
Held open: <role>, decided by <date> on <evidence>

## Buy or build: <capability>, three years
| | Buy | Build | Other option | Neither yet |
|---|---|---|---|---|
| Licence / tooling | | | | |
| One-off cost | | | | |
| New hires (per year, total) | | | | |
| **Total** | | | | |
| First result live | | | | |
| Hires incl. backfills | | | | |

Value of the delay: <extra cost> ÷ <months saved> = <break-even per month>. Sponsor's estimate: <x>; tested against <evidence>: <range>. (Argument, not forecast.)

## What stays in-house
<Definitions, matching rules, consent, checks on vendor output>

## If we buy: terms we need
<Export right, term, notice period, owner named before signing>

## Recommendation, and what would change it
<One option; the circumstance in which each other would win>
WORKED EXAMPLE

Lumora Mobile, data hiring plan and platform choice, 2027. Odinakachi wrote it for the chief financial officer and Fergus. All costs are illustrative.

The constraint. Platform and capacity together. Marketing cannot send retention audiences to channels without engineers pulling lists by hand, and the three data engineers are committed to billing and network feeds. The team has fourteen people and closed five hires last year.

Hiring plan.

Role New or backfill Start In-year (₦m) Run-rate (₦m) Unlocks
Data engineer New 1 Mar 25.0 30 Platform feeds and audience sync
Analytics engineer New 1 May 17.3 26 Subscriber and churn definitions
Analyst, consent and quality New 1 Jul 9.0 18 Consent flags, data checks
Total 51.3 74

Hires needed: 3 new plus 2 backfills for last year’s leavers, 5; closed last year: 5; gap 0. Build would need 4 plus 2, 6, so a gap of 1. Held open: a second data scientist, decided by 1 October on whether the first audiences show a lift.

Buy or build, three years (₦m). Buy 1,098; build 648; buy then rebuild 1,128; neither 0. First audience: month 4 for buy; month 9 at best for build, month 12 if hiring slips. The extra ₦450m for buying over eight months is about ₦56m a month to pay back. Fergus estimates ₦84m a month; two past campaigns give ₦65m to ₦90m. An argument, not a forecast.

Stays in-house. The definitions of active and churned subscriber, SIM-level identity matching, consent per channel and a monthly check of the vendor’s audience counts against the warehouse.

Terms if we buy. A two-year term, a full export of customer records, notice we can meet, the owner hired before signing.

Recommendation. Buy, on those terms. Build would win if the hiring market gave us four engineers in a quarter and marketing could wait a year.

Now you

You are the head of data at Crustwell, a data team of six: you, one analytics engineer, one data scientist and three analysts. About 180 distributors send monthly stock and sales files in different layouts, and the analysts spend about two days a week cleaning them, 40% of their time by a four-week log. The head of finance will fund one role and up to ₦40m of tooling from January. Illustrative costs: data engineer ₦30m loaded a year, analyst ₦18m, analytics engineer ₦26m, a managed ingestion tool ₦24m a year with eight weeks to set up and about a third of the analytics engineer’s time to run. Hosting for a build would cost ₦6m a year. Crustwell closed two data hires last year, one of your three analysts resigned last week and leaves in a month, and a data engineer would take about four months to land. Write the hiring plan and a three-year buy-or-build table for the ingestion work, and say which position you hold open.

Self-check

DECIDE

You are Odinakachi, Lumora Mobile's head of data, with a team of fourteen and approval for three hires. Fergus wants audiences for 31 million subscribers by the end of the second quarter. Over three years a customer data platform costs about ₦1,098m in all, building on the warehouse about ₦648m. Buying delivers in month 4, building in month 9 at best and probably month 12, because it needs six hires against five closed last year. The extra ₦450m is about ₦56m a month over eight months, and Fergus's estimate is ₦84m. What do you recommend?

READING
  1. BOOK
    Data Science for Business Foster Provost and Tom Fawcett, 2013

    The classic business-side treatment of how data science becomes an advantage and what it takes to attract and keep the people. Read it for the argument that people and culture matter as much as technology. Read: Chapter 13, Data Science and Business Strategy, including the section on attracting and nurturing data scientists and their teams.

  2. BOOK
    Fundamentals of Data Engineering Joe Reis and Matt Housley, 2022

    A practitioner's account of when to build and when to buy in data platforms. Read it to test your own table against the factors the authors list, such as team size and speed to market. Read: Chapter 4, Choosing Technologies Across the Data Engineering Lifecycle, the build versus buy section.

  3. POST
    Build vs buy Will Larson

    An engineering leader's account of a vendor negotiation and of how to evaluate the buy side of a build-or-buy choice. Read it before you write the case for buying, to see what questions a sceptical executive will ask.

  4. HANDBOOK
    Enterprise Data Team GitLab

    A public handbook describing one company's data team, its sub-teams for platform, insights and governance, and its stated responsibilities. Read it as one real example of how roles are divided, not as a template to copy.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Data governance, privacy and the executive team →