library("readr")
library("ggplot2")
library("dplyr")
library("ggrepel")Game of Thrones Anaylsis
Here, we analyse the screen times of all character in the HBO TV Series Game of Thrones. Watch it on your own risk ;)
this reads the Game of Thrones dataset form: https://
screentimes <- read_csv("data/GOT_screentimes_1.csv")select characters with a high screen time
screentimes_high <- top_n(screentimes, 10, screentime)create a scatter with screen time vs. nr of starred episode
ggplot(screentimes, aes(screentime, episodes)) +
geom_point() +
geom_text_repel(data = screentimes_high,
aes(label = name),
min.segment.length = 0)