Analysis of GOT series

Author

Adèle Garret

1 Abstract

This is the dummy Abstract that I am writing for Advanced Exercice 7 and I hope this will help me go further with the exercice. I use the no_toc function but does not seem to work. I dont’ know why.

2 Exercice 2

We have a dataset one screentime and numbber of episode for every character starred in Game Of Thrones. Tyron Lannister is both the character with the most screentime and appearing in most episode. One outlier has a 100 minutes screentime in only a few episodes - who is this guy??

3 Exercice 3

Add the R Code from Got-1

Show/Hide Code
library("readr")
library("ggplot2")
library("dplyr")

Attaching package: 'dplyr'
The following objects are masked from 'package:stats':

    filter, lag
The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union
Show/Hide Code
library("ggrepel")
Warning: package 'ggrepel' was built under R version 4.3.3
Show/Hide Code
#load the data set
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.
Show/Hide Code
# Select the character with the highest screenstimes
screentimes_high <- top_n(screentimes, 10, screentime)

# Make a scatterplot screentime vs. episodes.
# Label the characters with the highets screentimes 

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 (`geom_point()`).

4 Advanced - Exercice 1

  • Insert one image

Arryn

5 Advanced - Exercice 2

  • Insert a cross-reference

Figure 1: The coat of arms of House Baratheon

See Figure 2 (c) for the coat of arms of house Baratheon.

6 Advanced - Exercice 3

  • insert a crossreference to a chapter:

See (a1?) to picture the first image that was uploaded.

This does not work and I can’t figure out why.

7 Advanced - Exercice 4

(a) Baylish

(b) Bolton

(c) Baratheon

(d) Arryn

Figure 2: Famous Houses

8 Advanced - Exercice 5

Show/Hide Code
#add a caption and cross reference
ggplot(screentimes, aes(screentime, episodes)) +
  geom_point() +
  geom_text_repel(data = screentimes_high,aes(label = name),min.segment.length = 0) + 
  labs(caption = "@fig-houses shows the different goat of arms")
Warning: Removed 15 rows containing missing values (`geom_point()`).

9 Advanced - Exercice 6

Show/Hide Code
# creates a table
# | label: tbl-screentime
# | tbl-cap: "character with most screentime"

screentimes_high[,c("name", "screentime")] %>% 
  knitr::kable(,caption = "Most screened characters")
Most screened characters
name screentime
Tyrion Lannister 293.30
Jon Snow 268.15
Daenerys Targaryen 221.30
Cersei Lannister 201.45
Sansa Stark 199.30
Arya Stark 189.15
Jaime Lannister 162.30
Theon Greyjoy 123.30
Samwell Tarly 121.45
Jorah Mormont 117.30

I will now try to reference the Table @ref(tab: table_1) in my text

10 Advanced - Exercice 7

Create an dummy Abstract

11 Advanced - Exercice 8

According to Benioff et al. (2016) and Frankel (2014), Women show great power in GOF.

12 References

Benioff, David, David Brett Weiss, Katie Weiland, Crispin Green, and Tim Porter. 2016. Game of Thrones. Warner Home Video Denmark.
Frankel, Valerie Estelle. 2014. Women in Game of Thrones: Power, Conformity and Resistance. McFarland.