LSE ME204 · Data Engineering Principles for the Social Sciences
🖥️ Week 01 Day 01 Lecture
10:00 – 10:20
Three weeks from now you will have built a working data pipeline of your own. This morning we cover what that involves and how the course gets you there.

Dr Jon Cardoso-Silva
🌐 jonjoncardoso.github.io
📧 J.Cardoso-Silva@lse.ac.uk
Assistant Professor (Education)*
AI and Education Fellow ![]()
* Becoming Associate Professor from 1 Aug 2026.
Background:
Highlighted research:
![]()
GENIAL and the LSE AI and Education Fellowship
📢 I will talk more about our findings after the break!
:::
:::

Jonas Weinert
Class Teacher
📧 J.Weinert@lse.ac.uk ![]()
10:20 – 10:50

Scan the QR code or go to menti.com
Keep Menti open throughout this section!
We will run through a set of quick questions so I can see who is in the room, what you know, and what tools you have used.
10:50 – 11:15
You just told me what you think a data engineer does. Let’s see how that compares to what this course actually covers.
“[…] a field of study and practice that involves the collection, storage, and processing of data in order to derive important 💡 insights into a problem or a phenomenon. Such data may be generated by humans (surveys, logs, etc.) or machines (weather data, road vision, etc.), and could be in different formats (text, audio, video, augmented or virtual reality, etc.)”
Source of this definition: Shah, C. (2020). A hands-on introduction to data science. Cambridge University Press.
Emphasis and emojis are of my own making.
knows everything about statistics
able to communicate insights perfectly
fully understands businesses like no one
is a fluent computer programmer
Of course, such a person does not exist!
We are all jugglers 🤹

Image from Chapter 1 of Schutt, R., & O’Neil, C. (2013). Doing data science (1st edition). O’Reilly Media.
⚠️ In practice, the process is not linear, and many feedback loops exist.
People in the field like to joke that 80% of the time and effort spent on a data science project goes to the tasks highlighted in the diagram above.
And this is what this course is about! You will learn some of the most common tools used during this data wrangling process.
The struggle is real.
by u/ali_azg in r/dataengineering
Preparing data for analysis doesn’t get as much attention as algorithms (what people usually think of when they hear the term data science), but it is an essential skill if you want to work with data.
Data in social science is messy. Here are some examples from real research:
Real examples
Decisions the data cannot make for you
💡 After the break, we will test that claim directly. You will ask an AI to answer a real data question, and we will see how it does.
11:15 – 11:35
Now that I know who’s in the room, let’s look at what you’re here to do.
| 25% | Problem set | ✏️ Midterm |
Released: Thu 16 Jul 2026 Due: Tue 21 Jul 2026 |
| 75% | Website project | 🌐 Final Project |
Announced: Thu 23 Jul 2026 Due: Fri 31 Jul 2026, 5pm |
Full dates and criteria: 📓 Syllabus.
This course assumes some basic coding exposure:
str, int, float, bool)if, elif, else)for and while)def)Complete beginners have done well in this course before. Expect a steep first week if you are starting from scratch.

📗 Automate the Boring Stuff, chapters 1 to 5
Let’s look at the course syllabus together:
📔 Syllabus
Everything you need is on Moodle, but we also have a website anyone can open so you can refer to it even after the course is over:
:::
:::
Monday
today
pwd ls cd cat
Navigate a folder tree, write your first script in nano
Tuesday
📅 Week 01 Day 02
🖥️ Files as a machine sees them: Markdown, CSV, JSON, binary
💻 Your first Python: variables, lists, reading a file
Wednesday
📅 Week 01 Day 03
🖥️ REST APIs and curl in the terminal
💻 requests in a Jupyter notebook, fetch weather data from Open-Meteo
Thursday
📅 Week 01 Day 04
🖥️ Why tables beat loops: pandas and DataFrame
💻 Load yesterday’s weather data into a DataFrame
✏️ Midterm released
11:35 – 11:50

When we come back:
11:50 – 12:20
Large language models have become a standard tool for knowledge workers, especially for tasks that involve writing code. Tech leaders routinely claim these tools can replace whole categories of work. But how much of a data analysis can they actually do on their own, and can you trust what they produce?
In groups, in whatever AI tool you use, no data handed over:
💬 “How has the frequency of heatwaves changed in London over the last 40 years?”
Try to get a plot of heatwave events per year. The AI has to find the data itself, decide how to define a “heatwave,” build the analysis, and hand you a chart.

Data source: Open-Meteo Historical Weather API (ERA5 reanalysis). Definition: 3+ consecutive days at or above 28°C (London’s Met Office threshold). Each event is one unbroken run of 3+ days. Period: 1986 to 10 Jul 2026.
Check your group’s numbers against the chart:
Where did your group’s attempt diverge from this chart, and why?
12:20 – 12:40
You’ve just tested whether AI can do the data work for you. Here’s what the research shows about what happens when students rely on it.
The evidence is a little mixed but I like to take the warning signs more seriously: general-purpose chatbots, without any educational design in them, may disrupt our capacity to learn well.
Practice scores went up, exam scores went down
Students who used GPT-4 freely scored +48% higher while they had it. When it was taken away, they scored −17% lower than students who never had it.
They got better at solving problems with AI, but worse at solving them alone. Most did not notice.
ChatGPT improved the writing but not the writer
When ChatGPT was available, revision narrowed to a back-and-forth between the chatbot and the text editor. Students stopped going back to the source material, stopped checking the rubric, and stopped reviewing what they had written. Students paired with a human expert kept doing those checks.
Your brain works differently when you start with AI
Students who opened ChatGPT before attempting the task showed weaker brain activity in regions linked to memory and recall. Students who attempted the task first and then used AI did not show the same pattern.
The order matters: attempt first, then use AI to check or refine, and keep only what you can explain.
Strong today. How much sticks three weeks later?
Students who studied with ChatGPT had higher quiz scores right after the lab than students with no tools (about 83 vs 60). Three weeks later their quiz scores had dropped to about 66, while the no-tools group was still near 60. Studying with ChatGPT may help on the day. Whether those higher quiz scores last is less clear.

Kosmyna et al. (2025), MIT Media Lab
Confident answers ≠ correct data work.
The studies say the same thing in different words:
For ME204: attempt → then AI to check or debug → keep only what you can justify.
You may use AI for anything in your coursework. We mark for process over output. If you cannot explain a decision your submitted work makes, slow down.
Signs you have not engaged much
What good work looks like
12:40 – 12:50
This afternoon’s lab
You will work with just the Terminal and tomorrow we will discuss your experience.
You will learn how to use your keyboard to do things you’d normally do with a mouse:
pwd (see where you are in your computer),ls (view the list of files),cd (change directory), andcat (check the content of a text file).By 💻 Week 01 Day 03 Lab you will use the terminal to fetch the same weather data you just asked an AI to find. By 💻 Week 01 Day 04 Lab you will have it in a table.
This is what it looks like

Whether or not you have seen a terminal before, you start from the same place this afternoon: four commands and a folder tree.
We have a cloud environment called Nuvolos that has been set up for you to use during these 3 weeks of ME204.
The step-by-step guide is on Moodle: Guides → 1 Nuvolos First Time.

12:50

This afternoon: your first terminal session with Jonas.
💬 Keep notes about anything you may not have understood so we can sort out your questions tomorrow morning!
These slides were built with Quarto.
LSE Summer School 2026 | ME204 Week 01 Day 01
LSE ME204 (2026)