Game of Thrones Characters

Author

Lars Weidinger

Published

May 1, 2026

Abstract

This is a dummy abstract which is not numbered and not in the table of content.

Introduction

This is a dummy project for the GEO 880 course of the University of Zurich which focuses on publishing HTML files.

We did some analysis on Game of Thrones (GOT) characters screen time compared to the amount of episodes they were in. See Figure 1 for an amazing plot. See Figure 3 (a) for an illustration of a banner, in Section 4.

Code

Load the libraries

library("readr")
Warning: Paket 'readr' wurde unter R Version 4.5.2 erstellt
library("ggplot2")
Warning: Paket 'ggplot2' wurde unter R Version 4.5.2 erstellt
library("dplyr")

Attache Paket: 'dplyr'
Die folgenden Objekte sind maskiert von 'package:stats':

    filter, lag
Die folgenden Objekte sind maskiert von 'package:base':

    intersect, setdiff, setequal, union
library("ggrepel")
Warning: Paket 'ggrepel' wurde unter R Version 4.5.3 erstellt
library("knitr")

Create Scatterplot

screentimes <- read_csv("GOT_screentimes_1.csv")
Rows: 191 Columns: 6
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (4): name, imdb_url, portrayed_by_name, portrayed_by_imdb_url
dbl (2): screentime, episodes

ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
screentimes_high <- top_n(screentimes, 10, screentime)

ggplot(screentimes, aes(screentime, episodes)) +
  geom_point() +
  geom_text_repel(data = screentimes_high,aes(label = name),min.segment.length = 0)
Warning: Removed 15 rows containing missing values or values outside the scale range
(`geom_point()`).
Figure 1: Scatterplot of Game of Thrones Characters and their screentime according to number of episodes.

Quarto Advanced Exercise 1

See above for Exercise 2 and 3.

Figure 2: Arryn Banner of GOT

Quarto Advanced Exercise 4

(a) arryn
(b) baratheon
(c) baylish
(d) bolton
Figure 3: Famous Banners

See Figure 3 for four relevant banners. In particular, Figure 3 (b)

Quarto Advanced Exercise 6

screentimes |>
  slice_max(order_by = screentime, n = 10) |>
  select(name, screentime, episodes) |>
  knitr::kable()
Table 1: Top 10 Game of Thrones characters by screentime
name screentime episodes
Tyrion Lannister 293.30 54
Jon Snow 268.15 49
Daenerys Targaryen 221.30 49
Cersei Lannister 201.45 52
Sansa Stark 199.30 47
Arya Stark 189.15 47
Jaime Lannister 162.30 43
Theon Greyjoy 123.30 39
Samwell Tarly 121.45 37
Jorah Mormont 117.30 42

More information can be seen in Table 1.

Quarto Advanced Exercise 8

I can reference my source McKenzie (2019).

References

McKenzie, Grant. 2019. “Spatiotemporal Comparative Analysis of Scooter-Share and Bike-Share Usage Patterns in Washington, DC.” Journal of Transport Geography 78: 19–28.