FOUNDATIONSCHAPTER 01

Why data roles exist: analyst, analytics engineer, data scientist, ML engineer, data engineer

Data reaches a decision through five different jobs, and a company that hires the wrong one first gets a clever person doing plumbing or a pipeline nobody asked for

35 MINDATA AND MLUPDATED 2026-11-21
PREDICT

A 40-person company has data in three systems and a chief executive with a question no dashboard answers. A friend says to hire a data scientist first, because a scientist can also do the analyst's and engineer's work. What is the main problem with that advice?

A data role is a job whose output is a decision made on better evidence. The surprise for newcomers is that there are five of them, with overlapping tools and confusing titles, and that the right first hire depends on what is failing in the company, not on which title sounds most senior. This chapter maps the five jobs, shows how they connect, and gives you a way to say which one a given company needs. It is the first chapter of a track that goes on to the work itself: asking the right question, running experiments, defining metrics, shipping models.

The problem data roles solve

Every company with software produces data as a by-product. An order is placed, a card is charged, a rider marks a delivery, a customer writes in. Each event lands in whichever system handled it, in that system’s shape, with that system’s idea of who the customer is. At Tallowmere the order database knows patients by an internal id, the card provider by a card token, and the helpdesk by phone number. None of the three is wrong. They cannot be added up without someone doing work.

That work is the whole reason data roles exist. Four things go wrong when nobody does it on purpose.

The data cannot be reached. The only copy of an answer sits in a production database that engineers are rightly nervous about letting anyone query, or in an export that arrives in a new format every month.

The numbers disagree. Two people compute “active patients” differently and both are defensible. Each meeting starts with an argument about whose number is right.

Questions go unanswered or answered badly. The chief executive asks why, and the person who has time to look is not the person who knows how to separate a cause from a coincidence.

Predictions are guessed. Someone must decide how many refills to stock for, which orders are likely to be late, or which payments look odd, and the decision is made by feel because nobody can build and check a forecast.

Each failure has a different fix, and each fix is a different job. The mistake in most first data hires is to treat these as one problem with one person-shaped solution.

The model: a pipeline from event to decision

The clearest picture is a pipeline, and the best-known version is Monica Rogati’s data science hierarchy of needs. It stacks the work from the bottom: collecting data, moving and storing it, exploring and cleaning it, aggregating and labelling it, learning from it with experiments and simple models, and only at the top the advanced machine learning that gets the headlines. Her point is that each layer depends on the one below, and that a company which jumps to the top has built on sand. She also warns, in the same piece, against reading the hierarchy as permission to build infrastructure for a year with no product attached; start with a thin slice that serves one real use, then deepen it.

Map the five jobs onto that stack and each one lands in a different layer.

Job Layer it works in What it produces Judged on
Data engineer Move and store Pipelines, a warehouse, access control, freshness Whether the data arrives, on time, intact and permitted
Analytics engineer Explore, clean and aggregate Tested, documented models and shared metric definitions Whether two people querying the same thing get the same number
Data analyst Aggregate and answer An answer, a report or a dashboard tied to a decision Whether the asker could act on it and the numbers were right
Data scientist Learn Experiments, causal reads, forecasts and prototype models Decisions changed and claims that survive checking
ML engineer Learn, in production A model served, monitored and retrained Whether the model keeps working after launch

Read the table top to bottom as the path a number travels. Software engineers sit below it all, deciding what events the product records in the first place; if the “refill skipped” event is never logged, no role above can recover it. The analytical store at the top of the stack is also a different kind of database from the one that runs the product. What a database is for explains why the operational one is built for many small writes, and columnar and analytics explains why the analytical one is built for large reads. Data engineers spend much of their time moving data from the first kind to the second.

The five jobs, one at a time

The data engineer makes data available. They build and run the pipelines that copy data out of production systems and third-party tools into a store built for analysis, and they care about freshness, volume, failures, cost and who may see what. The title is old and the work is plain software engineering applied to data movement. The Data Engineering course, when it is written, teaches the technique. A company needs one when sources multiply, when copying data by hand has become a recurring chore, or when the production database is straining under people’s queries.

The analytics engineer makes data trustworthy and shared. They sit between the engineer and the analyst, turning raw tables into modelled ones with clear names, tested columns and one written definition of each metric. dbt’s own description of the role is that it brings software engineering practices such as version control and testing to analytics code. The title spread through the community around that tool. You need one when several people ask similar questions and each rebuilds the same joins, and when two reports disagree about the same month.

The data analyst answers questions. They take a defined question from the business, find the evidence, and present it so a decision can follow. The job is mostly SQL, spreadsheets, a dashboard tool and a great deal of conversation, because the skill that separates good analysts from adequate ones is working out what the person actually needs to decide. This is the foundation level of the track, and the track’s ladder starts here for that reason. The chapter on asking the right question goes into the craft.

The data scientist goes after what a query cannot give you. That means experiments, causal questions, forecasts and prototype models, all with an honest account of uncertainty. Provost and Fawcett’s opening chapter of Data Science for Business ties the field to data-driven decision making, which is a useful anchor: the output is a better decision, not a model for its own sake. Scientists need enough data to learn from, reliable inputs and a question worth the effort. Metrics and experiments shows how a product manager uses what a scientist produces.

The ML engineer puts models into production and keeps them there. A notebook that predicts well once is a prototype; a model that serves predictions fast, is monitored for drift, and is retrained safely is a system. The work is software engineering with a statistical conscience. Later chapters of this track cover taking a model from notebook to production and watching it for drift.

Where the jobs overlap, and where they stop

In a company of forty, there is rarely a team. There is one person, and they do several of these jobs in a week. That is fine and normal; the roles describe work to be done, not necessarily separate people. What matters is knowing which job you are doing at a given moment, because each has different standards. A pipeline that fails silently is a data engineer’s failure. A metric defined three ways is an analytics engineer’s. A confident answer to the wrong question is an analyst’s.

The boundaries with neighbouring roles are worth knowing.

Neighbour Where the line falls
Software engineer Engineers decide what the product records and own the production systems; data roles use that record and ask for changes to it
Product manager The PM decides what to build and owns the outcome; data supplies evidence and says how far it can be trusted. See product analytics for the PM’s side of instrumentation
AI engineer Builds products on top of large models someone else trained; the ML engineer trains, ships and monitors the company’s own. The map of AI roles in the AI Engineer track draws that boundary
Finance analyst Owns the financial figures and the forecast; data owns product and customer numbers, and the two must agree

Where practitioners disagree

Titles are unstable. A “data scientist” at one company is an analyst with a statistics degree; at another, an ML engineer. Davenport and Patil’s 2012 Harvard Business Review article gave the title its famous billing, and companies hired against it before they had work for it. Read job descriptions for the work, not the title.

Should scientists build their own pipelines? Jeff Magnusson argued at Stitch Fix that a data science team does better when its people own their pipelines end to end, with platform engineers building tools rather than writing the extraction jobs for them. Others hold that specialists make better pipelines and that scientists should not be on call for them. Both are right in some settings: the first suits a small team with a strong platform, the second suits an organisation where pipeline failures hurt customers.

Platform first or answers first? Some argue you cannot do anything useful until the foundations are in. Rogati’s caution cuts the other way. The practical resolution is to answer one real question end to end, and let that question decide which piece of the foundation to build next. Tallowmere’s chief executive wants an answer now, not a warehouse.

Do analysts need to code? Almost every company that takes data seriously ends up expecting SQL from its analysts, because the queries are the work. Spreadsheets remain a good first tool and a sensible place to learn the logic; they stop scaling when the same analysis is repeated monthly by hand.

Which job does your company need first?

Ask what is failing, then match it.

What you see The gap First move Sign you picked wrong
Nobody can get the data without asking an engineer Access Data engineer, or a read-only replica and an analyst for a small company The new pipeline is finished and nobody has a question for it
Two reports give two numbers for the same thing Definitions Analytics engineer, or an analyst who writes the definition down and gets it signed The definitions doc is current but has no owner
A leader asks why, and nobody has looked Analysis Analyst The analyst spends weeks fetching data by hand
A decision needs a forecast or a causal read Prediction Scientist, once inputs are reliable The model has no consumer
A model works in a notebook and fails in use Production ML engineer There is no model yet

For Tallowmere the chief executive’s question is a question, so the first move is an analyst. The data is small, with about 300 refill patients and three sources that can be joined in a few days. The analyst’s first weeks will show which piece of plumbing hurts most, and that is the evidence for the second hire.

Day to day

A first analyst at a small company has an unusual week. Nobody has defined the job yet, so you define it by what you deliver. The rhythm tends to look like this.

Every day. An hour in the data, checking that yesterday’s loads arrived and that the numbers you published last week still match. Replying to questions the same day, even if the reply is “I can answer that on Thursday, here is what I need”.

Every week. A conversation with the person who asked the live question, to confirm you are still answering the right one. A conversation with the engineer who knows the source system, because every surprising number turns out to have a story in the code. A written note of the week’s findings, a page at most, with numbers and the caveats beside them.

Every month. A review of recurring requests. Anything you have done by hand three times is a candidate for automation, and the list is the evidence for your second hire or your next project. A check of definitions: has anyone started computing a metric differently?

The meetings that matter are the ones where a decision is made and your answer is used: the leadership meeting that discusses refill churn, the weekly planning with the people who run dispensing. The meetings that do not are broad status calls where you are an audience. Protect two uninterrupted blocks a week for the analysis itself, because the work is slow, and interruptions cost more than the time they take.

BY ORG SIZE
STARTUPunder 30 people

There is no data role, and there should not be one yet. Someone, usually a founder or an operations person, reads the production database or an export and answers questions in a spreadsheet. What goes wrong is not the missing job but the missing owner: nobody writes down what a number means. The fix is cheap. Name one person who owns the numbers, keep a single page of definitions, and hire a first analyst when the same kind of question comes back every month.

SCALE-UP30 to 300

This is where the roles are born, in sequence. The first hire is usually an analyst, who exposes the missing plumbing. The analytics engineer arrives when many people ask similar questions and the same joins are rebuilt; the data engineer when sources multiply; the scientist when a decision needs a forecast or an experiment and there is enough data to support one. The risk is hiring the senior-sounding title before the work exists.

ENTERPRISE300 and up

All five jobs exist, usually in several teams, and the problem becomes boundaries and politics: who owns a metric, whether analysts sit in each product team or in a central one, how the ladders differ, and who answers when two teams publish different numbers. The skill shifts from doing the work to agreeing who does it. The chapter on embedded, central or hub-and-spoke teams takes up the shape question.

ARTEFACT Write the role map for your company ~40 MIN
YOU PRODUCEA one-page map of who owns each data job today, who should, and which job to hire next

Template

# Data role map: <company>
Author · Date · Agreed with: <chief executive or budget holder>

## The question that started this
<The decision someone is trying to make, and what is failing today.>

## Jobs and owners
| Recurring job | Hours | Owner today | Role it belongs to | Owner after this plan |
|---|---|---|---|---|
| <job> | <h/week or month> | <person or nobody> | <engineer / analytics engineer / analyst / scientist / ML engineer> | <person, role or still nobody> |

## The failure that matters most
<Access, definitions, analysis, prediction or production, with one example from the last month.>

## The next move
<One hire or change. Why this before the others.>

## What we will not do yet
- <role or project> because <the dependency it is missing>

## What would change this plan
<The evidence, with a number or a date, that would make us revisit.>
WORKED EXAMPLE

Tallowmere, 40 people, about 300 patients on monthly refills. Adunola wrote this with the chief executive in the first week of the analyst, Casper, who has recently joined. The question is why 39 of about 300 patients (13%) missed a refill last quarter, against 21 (7%) in the quarter before.

Recurring job Hours Owner today Role Owner after this plan
Answer the refill-churn question 12 once Adunola, at weekends Analyst Casper
One definition of an active refill patient none Nobody: two lists, 300 and 262 Analytics engineer’s work Casper drafts; the chief executive signs
Card provider export, monthly 3 per month Adunola Data engineer’s work Casper by hand, until it passes 4 hours a month
Queries on the order database 5 per week The engineer who knows the service Analyst, with a read-only replica Casper; the engineer reviews the first ten queries
Predict which patients will lapse none Nobody Scientist Not yet

The failure that matters most: analysis, with a definition problem inside it. The next move: the analyst answers the question and writes the definition. Not yet: a data engineer, because there is one monthly export and a replica solves access; a scientist, because 39 lapses a quarter is too few examples to learn from. What would change this: a third recurring report, or a card export that takes over 4 hours a month.

Now you

Three months on, Casper is overloaded and the chief executive asks whether Tallowmere needs a second data person. Casper’s recurring jobs, from a time log: the monthly card-decline report for the finance lead, 3 hours; refreshing the refill-lapse dashboard by hand, 4 hours a week; a delivery-time report for dispatch, 5 hours a week; ad hoc questions from the chief executive, 6 hours a week; fixing the card export when the provider changes its columns, 2 hours a month; reconciling the refill-plan list against the care team’s list, 4 hours a month. A pharmacist has also asked whether data could forecast stock-outs. The complication: the order service’s database changed in November and broke three of Casper’s queries, which have cost 8 hours to repair so far, and the engineer who knows the service is the only person who can say what the new columns mean. Write the role map. Decide which jobs belong to which of the five roles, which stay with Casper, and which hire, if any, comes next.

Self-check

DECIDE

Tallowmere has 40 people, about 520 deliveries a day and about 300 patients on monthly refills. Refill lapses rose from 7% to 13% in a quarter. The chief executive wants it explained within a month. The data sits in the order database, the card provider's exports and the care team's helpdesk, and no one owns it. There is budget for one hire or one engagement. What comes first?

READING
  1. BOOK
    Data Science for Business, chapter 1: Introduction: Data-Analytic Thinking Foster Provost and Tom Fawcett, 2013

    Opens with how data science relates to engineering and to data-driven decision making. Read it for the idea that the output is a decision, not a model. Read: O'Reilly, chapter 1.

  2. POST
    The AI Hierarchy of Needs Monica Rogati

    The stack this chapter's pipeline model follows, from collecting data up to advanced machine learning, and the warning against building infrastructure disconnected from a product.

  3. POST
    Engineers Shouldn't Write ETL: A Guide to Building a High Functioning Data Science Department Jeff Magnusson, 2016

    A well-known argument about where the line between data scientists and data engineers should fall. Useful for seeing that the line is a choice, not a law.

  4. DOC
    What is analytics engineering? dbt Labs

    The tool vendor's own account of the analytics engineer's job, written by the people who popularised the title. Read it with the awareness that it comes from a vendor.

  5. POST
    Data Scientist: The Sexiest Job of the 21st Century Thomas H. Davenport and D. J. Patil, 2012

    The article that put the title on every company's wish list. Read it to see what was promised, then compare it with what a first hire at a small company actually does.

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 philosophies: decision support, self-serve, data product, experiment-led →