Making the biomass case

Research Methods — Week 2 Application

Today’s plan

Goals

Produce briefing-quality figures of the biomass data.

By the end of this session:

  • 2–3 committed figures in your repo
  • The code that produced them
  • A sense of the story the data tells

Questions?

Submit questions anonymously:

PollEv.com/geol

text geol to 07480 781235

The figures you’re building

Figure What it shows
Trend plot Biomass generation over time
Comparison plot CO₂ per MWh: biomass vs coal vs gas
Import plot Where do the wood pellets come from?
Context plot Biomass as % of total UK electricity

Guided walkthrough

🎓💻 Building a biomass figure

Live demo

🖥️ Building a multi-fuel line chart in WebR

The anatomy of a good figure

ggplot(long_data, aes(x = year, y = twh, colour = fuel)) +
  geom_line() +
  labs(
    x = "Year",
    y = "Generation (TWh)",
    colour = "Fuel type",
    caption = "Source: DUKES 2025 Table 5.6B"
  )

Every figure should have a “so what” — what should the reader take from it?

Your figures

✏️💻 Independent exercises

Work through the exercises

The WebR page has four main exercises with hints:

  1. Trend plot — biomass over time, with context
  2. Comparison plot — emissions per MWh by fuel
  3. Import plot — pellet origins over time
  4. Context plot — biomass as % of total

Extension: Can you make biomass look more important — or less important — than it really is?

Discussion

💬 What story do your figures tell?

Show and tell

“What story do your figures tell?”

2–3 volunteers: share a figure. Class discusses:

  • What does this figure show clearly?
  • What’s missing?
  • How do your choices (axis ranges, colours, what’s included) affect the impression?

Wrap-up

Commit your work

Save your code to week2.R. Commit and push.

Your repo now has two weeks of work:

  • week1.R — exploratory code
  • week2.R — figures

Next week: “How confident should we be?”

We’ll ask whether the biomass numbers really add up.