├── .gitignore ├── indegree.png ├── data ├── elist.rda ├── nlist.rda ├── houses.rda ├── allegiances.Rds └── game-of-thrones-kaggle │ ├── battles.csv │ └── character-deaths.csv ├── houses_nw_networkd3.png ├── houses_nw_visnetwork.png ├── blog_GoTr.Rproj ├── script ├── utils_part2_nw.R ├── get_allegiances.R └── blog_part2_nw.R ├── GoTr_Rwrapper.Rmd ├── notebooks └── sim.Rmd └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .Rproj.user 2 | .Rhistory 3 | .RData 4 | .Ruserdata 5 | -------------------------------------------------------------------------------- /indegree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MangoTheCat/blog_GoTr/master/indegree.png -------------------------------------------------------------------------------- /data/elist.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MangoTheCat/blog_GoTr/master/data/elist.rda -------------------------------------------------------------------------------- /data/nlist.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MangoTheCat/blog_GoTr/master/data/nlist.rda -------------------------------------------------------------------------------- /data/houses.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MangoTheCat/blog_GoTr/master/data/houses.rda -------------------------------------------------------------------------------- /data/allegiances.Rds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MangoTheCat/blog_GoTr/master/data/allegiances.Rds -------------------------------------------------------------------------------- /houses_nw_networkd3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MangoTheCat/blog_GoTr/master/houses_nw_networkd3.png -------------------------------------------------------------------------------- /houses_nw_visnetwork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MangoTheCat/blog_GoTr/master/houses_nw_visnetwork.png -------------------------------------------------------------------------------- /blog_GoTr.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: Default 4 | SaveWorkspace: Default 5 | AlwaysSaveHistory: Default 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: Yes 9 | NumSpacesForTab: 2 10 | Encoding: UTF-8 11 | 12 | RnwWeave: knitr 13 | LaTeX: pdfLaTeX 14 | -------------------------------------------------------------------------------- /script/utils_part2_nw.R: -------------------------------------------------------------------------------- 1 | #------------------------------------ 2 | # Utility functions to plat network 3 | from_url_to <- function(from = "https://anapioficeandfire.com/api/houses/1"){ 4 | overlord <- got_api(url = from) %>% 5 | flatten() %>% 6 | magrittr::extract2("overlord") 7 | 8 | if (overlord == "") 9 | return("") 10 | else return(overlord) 11 | } 12 | 13 | extract_id_from_url <- function(url){ 14 | flatten_chr(strsplit(url, "/"))[6] %>% 15 | as.integer() 16 | } -------------------------------------------------------------------------------- /script/get_allegiances.R: -------------------------------------------------------------------------------- 1 | library(purrr) 2 | library(GoTr) 3 | library(tidyverse) 4 | library(rvest) 5 | 6 | #get all houses 7 | houses <- 1:9 %>% 8 | map(function(x) got_api(type = "houses", query = list(page=x, pageSize="50"))) %>% 9 | unlist(recursive=FALSE) %>% 10 | map(`[`, "name") %>% 11 | map(~stringr::str_replace(.x, "House", "")) %>% 12 | map(~stringr::str_replace(.x, "of .*", "")) %>% 13 | map(stringr::str_trim) 14 | 15 | # define function to get allegiances 16 | # using a url it scrapes the Allegiance field 17 | # after some processing it then returns a vector of allegiances 18 | get_allegiances <- function(url){ 19 | result <- read_html(url) %>% 20 | html_nodes(".pi-border-color") %>% 21 | html_text() %>% 22 | stringr::str_replace("\n\t\n\t\t", "") %>% 23 | stringr::str_replace("\n\t\n\t", " ") %>% 24 | stringr::str_replace("\n", "") %>% 25 | stringr::str_subset("Allegiance") %>% 26 | stringr::str_replace("Allegiance", "") %>% 27 | stringr::str_replace_all(" ", "") %>% 28 | stringr::str_split("House") %>% 29 | stringi::stri_list2matrix() %>% 30 | stringr::str_subset("[a-zA-Z]") 31 | 32 | return(result) 33 | } 34 | # make function safely as it will fail for some houses 35 | get_allegiances_safely <- safely(get_allegiances, otherwise=NA) 36 | 37 | # now for each house, apply the function and extract the result field 38 | # we will filter out the NA fields later 39 | allegiances <- map(houses, ~ sprintf("http://gameofthrones.wikia.com/wiki/House_%s", .x)) %>% 40 | map(get_allegiances_safely) %>% 41 | map(`[`, "result") %>% 42 | flatten() %>% 43 | map2(houses, ~list(allegiances=.x, house=.y)) %>% # combine house names with allegiances 44 | discard(~is.na(.x['allegiances'])) %>% 45 | discard(~length(unlist(.x['allegiances']))==0) 46 | 47 | saveRDS(allegiances, file="data/allegiances.Rds") 48 | load("data/allegiances.Rds") 49 | 50 | head(allegiances) 51 | 52 | -------------------------------------------------------------------------------- /GoTr_Rwrapper.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "GoTr - R wrapper for An API of Ice And Fire" 3 | author: "Ava Yang" 4 | output: 5 | html_document: 6 | keep_md: true 7 | --- 8 | 9 | ```{r setup, include=FALSE} 10 | knitr::opts_chunk$set(echo = TRUE) 11 | ``` 12 | 13 | It's Game of Thrones time again as the battle for Westeros is heating up. There are tons of ideas, ingredients and interesting analyses out there and I was craving for my own flavour. So step zero, where is the data? 14 | 15 | Jenny Bryan's [purrr tutorial](https://jennybc.github.io/purrr-tutorial/ls00_inspect-explore.html) introduced the list **got_chars**, representing characters information from the first five books, which seems not much fun beyond exercising list manipulation muscle. However, it led me to an [API of Ice and Fire](https://anapioficeandfire.com/), the world's greatest source for quantified and structured data from the universe of Ice and Fire including the HBO series Game of Thrones. I decided to create my own API functions, or better, an R package (inspired by the famous rwar package). 16 | 17 | The API resources cover 3 types of endpoint - Books, Characters and Houses. `GoTr` pulls data in JSON format and parses them to R list objects. `httr`'s [Best practices for writing an API package](https://cran.r-project.org/web/packages/httr/vignettes/api-packages.html) by Hadley Wickham is another life saver. 18 | 19 | The package contains: 20 | - One function `got_api()` 21 | - Two ways to specify parameters generally, i.e. endpoint **type** + **id** or **url** 22 | - Three endpoint types 23 | 24 | ```{r basics, message=FALSE, warning=FALSE} 25 | ## Install GoTr from github 26 | #devtools::install_github("MangoTheCat/GoTr") 27 | library(GoTr) 28 | library(tidyverse) 29 | library(listviewer) 30 | 31 | # Retrieve books id 5 32 | books_5 <- got_api(type = "books", id = 5) 33 | # Retrieve characters id 583 34 | characters_583 <- got_api(type = "characters", id = 583) 35 | # Retrieve houses id 378 36 | house_378 <- got_api(type = "houses", id = 378) 37 | # Retrieve pov characters data in book 5 38 | povData <- books_5$povCharacters %>% 39 | flatten_chr() %>% 40 | map(function(x) got_api(url = x)) 41 | ``` 42 | 43 | ```{r view, collapse=TRUE} 44 | # Helpful functions to check structure of list object 45 | length(books_5) 46 | names(books_5) 47 | names(house_378) 48 | str(characters_583, max.level = 1) 49 | map_chr(povData, "name") 50 | #listviewer::jsonedit(povData) 51 | ``` 52 | 53 | 54 | Another powerful parameter is **query** which allows filtering by specific attribute such as the name of a character, pagination and so on. 55 | 56 | It's worth knowing about pagination. The first simple request will render a list of 10 elements, since the default number of items per page is 10. The maximum valid **pageSize** is 50, i.e. if 567 is passed on to it, you still get 50 characters. 57 | 58 | 59 | ```{r pagination, eval=FALSE} 60 | # Retrieve character by name 61 | Arya_Stark <- got_api(type = "characters", query = list(name = "Arya Stark")) 62 | # Retrieve characters on page 3, change page size to 20. 63 | characters_page_3 <- got_api(type = "characters", query = list(page = "3", pageSize="20")) 64 | ``` 65 | 66 | 67 | So how do we get ALL books, characters or houses information? The package does not provide the function directly but here's an implementation. 68 | ```{r booksAll, eval=TRUE} 69 | # Retrieve all books 70 | booksAll <- got_api(type = "books", query = list(pageSize="20")) 71 | # Extract names of all books 72 | map_chr(booksAll, "name") 73 | ``` 74 | 75 | ```{r houses, eval=FALSE} 76 | # Retrieve all houses 77 | houses <- 1:9 %>% 78 | map(function(x) got_api(type = "houses", query = list(page=x, pageSize="50"))) %>% 79 | unlist(recursive=FALSE) 80 | ``` 81 | 82 | ```{r load_houses, echo=FALSE} 83 | # Load the data as it takes too long 84 | load("data/houses.rda") 85 | ``` 86 | 87 | ```{r housesView, collapse=TRUE} 88 | map_chr(houses, "name") %>% length() 89 | map_df(houses, `[`, c("name", "region")) %>% head() 90 | ``` 91 | 92 | The **houses** list is a starting point for a social network analysis: Mirror mirror tell me, who are the most influential houses in the Seven Kingdom? Stay tuned for that is the topic of the next blogpost. 93 | 94 | Thanks to all open resources. Please comment, fork, issue, star the work-in-progress on our [GitHub repository](https://github.com/MangoTheCat/blog_GoTr). 95 | -------------------------------------------------------------------------------- /script/blog_part2_nw.R: -------------------------------------------------------------------------------- 1 | #------------------------------ 2 | library(GoTr) 3 | library(listviewer) 4 | library(tidyverse) 5 | library(stringr) 6 | library(networkD3) 7 | library(visNetwork) 8 | library(igraph) 9 | library(formattable) 10 | 11 | source("utils.R") 12 | 13 | #----------------------------- 14 | ## Get all houses data 15 | ## or load from memory as takes long to response 16 | #houses <- 1:9 %>% # Reponse takes ~ 10 min 17 | # map(function(x) got_api(type = "houses", query = list(page=x, pageSize="50"))) %>% 18 | # unlist(recursive=FALSE) 19 | 20 | load(file.path("data", "houses.rda")) 21 | 22 | houses_url <- map_chr(houses, "url") 23 | houses_url_to <- houses_url %>% # Reponse takes ~ 5 mins 24 | map_chr(function(x) from_url_to(from = x)) 25 | 26 | #------------------------------ 27 | # Gnerate edge list pbject 28 | elist <- tibble( 29 | from = houses_url %>% 30 | map_int(~extract_id_from_url(.x)), 31 | to = houses_url_to %>% 32 | map_int(~extract_id_from_url(.x)) 33 | ) 34 | 35 | #------------------------------ 36 | # Generate node list pbject 37 | nlist <- map_df(houses, `[`, c("url", "name", "region")) %>% 38 | group_by(url) %>% 39 | mutate(id = extract_id_from_url(url)) 40 | 41 | # drop duplicates in nlist, chances are a house has different branches, regions etc. 42 | elist <- (elist - 1) %>% 43 | na.omit() 44 | 45 | #------------------------------ 46 | # Group Great Houses * 9 for coloring 47 | greatHouses <- c( 48 | "Targaryen of King's Landing", 49 | "Stark of Winterfell", 50 | "Lannister of Casterly Rock", 51 | "Arryn of the Eyrie", 52 | "Tully of Riverrun", 53 | "Greyjoy of Pyke", 54 | "Baratheon of Storm's End", 55 | "Tyrell of Highgarden", 56 | "Nymeros Martell of Sunspear" 57 | ) %>% map_chr(~paste("House", .x)) 58 | 59 | groupCols <- 'd3.scaleOrdinal().range(["#A3A5A5","#E0A225", "#C93312"]);' 60 | 61 | nlist <- nlist %>% 62 | mutate( 63 | id = id - 1, 64 | group = case_when( 65 | name == "House Baratheon of King's Landing" ~ "House Baratheon of King's Landing", 66 | name %in% greatHouses ~ "Great Houses", 67 | TRUE ~ "Bend your knees" 68 | ) 69 | ) %>% 70 | na.omit() 71 | 72 | 73 | #------------------------------------ 74 | # network plot using networkD3 75 | # NB 76 | # 1. id must sart from 0 77 | # 2. Links and Nodes only take plain data frames 78 | # 3. No NA is allowed 79 | # 4. param arrows misbehaves or something wrong 80 | # 5. param charge is used to adjust scale of distance between nodes 81 | forceNetwork(Links = as.data.frame(elist), Nodes = as.data.frame(nlist), 82 | NodeID = "name", Source = "from", Target = "to", 83 | Group = "group", colourScale = groupCols, charge = -4, 84 | opacity = 1, zoom = TRUE, legend = TRUE)#, arrows = TRUE 85 | 86 | #------------------------------------ 87 | # network plot using visNetwork 88 | # NB 89 | # 1. Add title and label for nodes info 90 | # 2. Position of nodes and links parameter are opposite of networkD3 91 | nlist <- nlist %>% 92 | mutate( 93 | title = name, # text on label 94 | label = str_replace(name, "House *", "") 95 | ) # hover label, select by 96 | visNetwork(nodes = nlist, edges = elist) %>% 97 | visIgraphLayout() %>% 98 | #visPhysics(stabilization = FALSE) %>% 99 | visEdges(arrows = list(to = list(enabled = TRUE, 100 | type = 'circal')), width = 1) %>% 101 | visNodes(color = list(border = "white")) %>% 102 | visOptions(highlightNearest = list(enabled = T, degree = 1), 103 | selectedBy = list(variable = "region", multiple = TRUE), 104 | nodesIdSelection = TRUE 105 | ) %>% 106 | visGroups(groupname = "House Baratheon of King's Landing", color = "#C93312") %>% 107 | visGroups(groupname = "Great Houses", color = "#E0A225") %>% 108 | visGroups(groupname = "Bend your knees", color = "#A3A5A5") %>% 109 | visLayout(randomSeed = 123) 110 | 111 | #------------------------------------ 112 | # indegree, a measure of directed graph centrality 113 | # indegree is a count of the number of ties directed to the node, ie incoming nodes 114 | ig <- graph.data.frame(elist, directed=TRUE) 115 | 116 | indegree <- degree(ig, mode="in") 117 | outdegree <- degree(ig, mode="out") 118 | bothdegree <- degree(ig) 119 | 120 | top10central <- sort(indegree, decreasing = TRUE)[1:10] 121 | 122 | dat <- data.frame(indegree=top10central) %>% 123 | mutate(id = as.integer(rownames(.))) %>% # turn rowname from character to integer 124 | left_join(nlist[, c("id", "name", "region", "group")], by = "id") %>% 125 | select(name, indegree, region, group) 126 | 127 | formattable(dat, list( 128 | indegree = color_bar('lightblue'), 129 | group = formatter("span", 130 | style = x ~ style( 131 | color = ifelse(x == "House Baratheon of King's Landing", "#C93312", 132 | ifelse(x == "Great Houses", "#E0A225", "#A3A5A5")), 133 | font.weight = "bold") 134 | ) 135 | )) 136 | 137 | -------------------------------------------------------------------------------- /notebooks/sim.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Who is best at forging alliances? A simulation approach" 3 | author: "Ava, Adnan" 4 | date: "24 September 2017" 5 | output: html_document 6 | --- 7 | 8 | ```{r setup, include=FALSE} 9 | knitr::opts_chunk$set(echo = TRUE) 10 | ``` 11 | 12 | # Question 13 | 14 | We can calculate how each allegiance contributes to being on the throne. 15 | For example, how often House of Amber is allied to the throne determines their contribution to probability of being on the throne. 16 | 17 | A simulation to see what the possibilities are for future allegiances. Each simulation draws random number for each house, 18 | then adds allegiances to determine probability of getting throne. 19 | We can simulate a thousand times to then get a probability distribution for 20 | getting throne for each house. 21 | 22 | Distribution would be very simple: House switches allegiance = R > _u_ where R is random number from uniform distribution (0,1) and _u_ is probability of switching 23 | 24 | **Where's dynamic allegiances data?** 25 | **How to find swtiching probability?** 26 | **How to find allegiance_to_throne probability?** 27 | 28 | ## Prep dummy data 29 | 30 | ```{r prep} 31 | set.seed(19092017) 32 | suppressPackageStartupMessages(library(tidyverse)) 33 | options(stringsAsFactors = FALSE) 34 | 35 | state_allegiance <- data.frame(major_house=c("Stark", "Lannister", "Baratheon"), 36 | minor_house=c("Tyrell", "Vale", "Bolling")) 37 | 38 | switching <- data.frame(major_house = c("Stark", "Lannister", "Baratheon"), 39 | minor_house = c("Vale", "Tyrell", "Bolling"), 40 | switch = c(0.5, 0.5, 0.5)) 41 | 42 | ## the probability for a house to grab the throne ??? 43 | allegiance_to_throne <- data.frame( 44 | house = c("Vale", "Tyrell", "Stark", "Lannister", "Baratheon", "Bolling"), 45 | probability = c(0.3, 0.4, 0.8, 0.7, 0.1, 0.2)) 46 | 47 | 48 | state_allegiance 49 | 50 | switching 51 | 52 | allegiance_to_throne 53 | 54 | ``` 55 | 56 | ## Simulate on a minimal example 57 | Define function to get probability for a major house's contribution to the throne by summing up probabilities of its barons. 58 | 59 | For each row (a pair of allegiance relationship), generate a random value from uniform distribution. If this number is larger than the switch probability ie. 0.5, assign major house from switching to that in state_allegiance. 60 | 61 | 62 | ```{r sim} 63 | 64 | ## get probability of major house from its minors (sum or mean?) 65 | get_probability_to_throne <- function(allegiance_state, simrun){ 66 | result <- allegiance_state %>% 67 | left_join(allegiance_to_throne, by=c("minor_house"="house")) %>% 68 | group_by(major_house) %>% summarise(total_prob = sum(probability)) %>% 69 | ungroup() 70 | colnames(result) <- c("major_house", paste0("total", simrun)) 71 | return(result) 72 | } 73 | 74 | simulated_throne_prob <- get_probability_to_throne(state_allegiance, 0) 75 | ## run simulations 10 times 76 | number_of_sims <- 10 77 | for(i in 1:number_of_sims){ 78 | for(j in 1:nrow(switching)){ 79 | r <- runif(1) 80 | minor_house <- switching$minor_house[j] 81 | major_house <- switching$major_house[j] 82 | if(r > switching[j, "switch"]){ 83 | state_allegiance[state_allegiance$minor_house==minor_house, "major_house"] <- major_house 84 | } 85 | } 86 | simulated_throne_prob <- left_join(simulated_throne_prob, 87 | get_probability_to_throne(state_allegiance, i), 88 | by="major_house") 89 | } 90 | 91 | 92 | simulated_throne_prob <- gather(simulated_throne_prob, key="SimRun", "Probability", -major_house) 93 | qplot(x=Probability, data=simulated_throne_prob) + facet_wrap(~major_house) 94 | 95 | ``` 96 | 97 | 98 | ## Allegiances switching over time 99 | 100 | Two data sources appear promising for our task after searching for more real world data, beyond the API data. 101 | 102 | - [Game of Thrones Kaggle data sets](https://www.kaggle.com/mylesoneill/game-of-thrones/data). In the character-deaths.csv, each character has an alligance value such as 103 | 104 | ```{r} 105 | death = read.csv("../data/game-of-thrones-kaggle/character-deaths.csv") 106 | head(death) 107 | summary(factor(death$Allegiances)) 108 | ``` 109 | 110 | Interestingly, **Night's Watch** and **Wildling** are on the list, which allow them explicily claiming to be significant political bodies. Seen from this data set, it seems the allegiances label is one for good, rather than evolve over time. Is it true? We then can calculate major groups' allegiance_to_throne from 2 values - death statuses and allegiances of characters. A character will remain one label unless she/he dies. The transition matrix may look like the mock below. It is akin to a summary matrix of `switching` probability (???) above. 111 | ```{r transition} 112 | transition <- data.frame(Lannister = c(0.8, 0, 0, 0), 113 | Stark = c(0, 0.7, 0, 0), 114 | "Night's Watch" = c(0.05, 0.1, 0.5, 0), 115 | dead = c(0.15, 0.2, 0.5, 1), check.names = FALSE) 116 | row.names(transition) <- c("Lannister", "Stark", "Night's Watch", "dead") 117 | # row sums should equal 1, i.e. each group will go to one of the statuses 118 | rowSums(transition) 119 | transition 120 | ``` 121 | 122 | Still not sure how to derive `allegiance_to_throne`??? 123 | 124 | - [Statuses of the Houses in Westeros](http://awoiaf.westeros.org/index.php/Houses_of_Westeros). Available both at the start of A Game of Thrones, and at the end of the most recent book in the A Song of Ice and Fire series (currently A Dance with Dragons). 125 | 126 | 127 | 128 | 129 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GoTr - R wrapper for An API of Ice And Fire 2 | Ava Yang 3 | 4 | 5 | 6 | It's Game of Thrones time again as the battle for Westeros is heating up. There are tons of ideas, ingredients and interesting analyses out there and I was craving for my own flavour. So step zero, where is the data? 7 | 8 | Jenny Bryan's [purrr tutorial](https://jennybc.github.io/purrr-tutorial/ls00_inspect-explore.html) introduced the list **got_chars**, representing characters information from the first five books, which seems not much fun beyond exercising list manipulation muscle. However, it led me to an [API of Ice and Fire](https://anapioficeandfire.com/), the world's greatest source for quantified and structured data from the universe of Ice and Fire including the HBO series Game of Thrones. I decided to create my own API functions, or better, an R package (inspired by the famous rwar package). 9 | 10 | The API resources cover 3 types of endpoint - Books, Characters and Houses. `GoTr` pulls data in JSON format and parses them to R list objects. `httr`'s [Best practices for writing an API package](https://cran.r-project.org/web/packages/httr/vignettes/api-packages.html) by Hadley Wickham is another life saver. 11 | 12 | The package contains: 13 | - One function `got_api()` 14 | - Two ways to specify parameters generally, i.e. endpoint **type** + **id** or **url** 15 | - Three endpoint types 16 | 17 | 18 | ```r 19 | ## Install GoTr from github 20 | #devtools::install_github("MangoTheCat/GoTr") 21 | library(GoTr) 22 | library(tidyverse) 23 | library(listviewer) 24 | 25 | # Retrieve books id 5 26 | books_5 <- got_api(type = "books", id = 5) 27 | # Retrieve characters id 583 28 | characters_583 <- got_api(type = "characters", id = 583) 29 | # Retrieve houses id 378 30 | house_378 <- got_api(type = "houses", id = 378) 31 | # Retrieve pov characters data in book 5 32 | povData <- books_5$povCharacters %>% 33 | flatten_chr() %>% 34 | map(function(x) got_api(url = x)) 35 | ``` 36 | 37 | 38 | ```r 39 | # Helpful functions to check structure of list object 40 | length(books_5) 41 | ## [1] 11 42 | names(books_5) 43 | ## [1] "url" "name" "isbn" "authors" 44 | ## [5] "numberOfPages" "publisher" "country" "mediaType" 45 | ## [9] "released" "characters" "povCharacters" 46 | names(house_378) 47 | ## [1] "url" "name" "region" 48 | ## [4] "coatOfArms" "words" "titles" 49 | ## [7] "seats" "currentLord" "heir" 50 | ## [10] "overlord" "founded" "founder" 51 | ## [13] "diedOut" "ancestralWeapons" "cadetBranches" 52 | ## [16] "swornMembers" 53 | str(characters_583, max.level = 1) 54 | ## List of 16 55 | ## $ url : chr "https://anapioficeandfire.com/api/characters/583" 56 | ## $ name : chr "Jon Snow" 57 | ## $ gender : chr "Male" 58 | ## $ culture : chr "Northmen" 59 | ## $ born : chr "In 283 AC" 60 | ## $ died : chr "" 61 | ## $ titles :List of 1 62 | ## $ aliases :List of 8 63 | ## $ father : chr "" 64 | ## $ mother : chr "" 65 | ## $ spouse : chr "" 66 | ## $ allegiances:List of 1 67 | ## $ books :List of 1 68 | ## $ povBooks :List of 4 69 | ## $ tvSeries :List of 6 70 | ## $ playedBy :List of 1 71 | map_chr(povData, "name") 72 | ## [1] "Aeron Greyjoy" "Arianne Martell" "Arya Stark" 73 | ## [4] "Arys Oakheart" "Asha Greyjoy" "Brienne of Tarth" 74 | ## [7] "Cersei Lannister" "Jaime Lannister" "Samwell Tarly" 75 | ## [10] "Sansa Stark" "Victarion Greyjoy" "Areo Hotah" 76 | #listviewer::jsonedit(povData) 77 | ``` 78 | 79 | 80 | Another powerful parameter is **query** which allows filtering by specific attribute such as the name of a character, pagination and so on. 81 | 82 | It's worth knowing about pagination. The first simple request will render a list of 10 elements, since the default number of items per page is 10. The maximum valid **pageSize** is 50, i.e. if 567 is passed on to it, you still get 50 characters. 83 | 84 | 85 | 86 | ```r 87 | # Retrieve character by name 88 | Arya_Stark <- got_api(type = "characters", query = list(name = "Arya Stark")) 89 | # Retrieve characters on page 3, change page size to 20. 90 | characters_page_3 <- got_api(type = "characters", query = list(page = "3", pageSize="20")) 91 | ``` 92 | 93 | 94 | So how do we get ALL books, characters or houses information? The package does not provide the function directly but here's an implementation. 95 | 96 | ```r 97 | # Retrieve all books 98 | booksAll <- got_api(type = "books", query = list(pageSize="20")) 99 | # Extract names of all books 100 | map_chr(booksAll, "name") 101 | ``` 102 | 103 | ``` 104 | ## [1] "A Game of Thrones" "A Clash of Kings" 105 | ## [3] "A Storm of Swords" "The Hedge Knight" 106 | ## [5] "A Feast for Crows" "The Sworn Sword" 107 | ## [7] "The Mystery Knight" "A Dance with Dragons" 108 | ## [9] "The Princess and the Queen" "The Rogue Prince" 109 | ## [11] "The World of Ice and Fire" "A Knight of the Seven Kingdoms" 110 | ``` 111 | 112 | 113 | ```r 114 | # Retrieve all houses 115 | houses <- 1:9 %>% 116 | map(function(x) got_api(type = "houses", query = list(page=x, pageSize="50"))) %>% 117 | unlist(recursive=FALSE) 118 | ``` 119 | 120 | 121 | 122 | 123 | ```r 124 | map_chr(houses, "name") %>% length() 125 | ## [1] 444 126 | map_df(houses, `[`, c("name", "region")) %>% head() 127 | ## # A tibble: 6 x 2 128 | ## name region 129 | ## 130 | ## 1 House Algood The Westerlands 131 | ## 2 House Allyrion of Godsgrace Dorne 132 | ## 3 House Amber The North 133 | ## 4 House Ambrose The Reach 134 | ## 5 House Appleton of Appleton The Reach 135 | ## 6 House Arryn of Gulltown The Vale 136 | ``` 137 | 138 | The **houses** list is a starting point for a social network analysis: Mirror mirror tell me, who are the most influential houses in the Seven Kingdom? Stay tuned for that is the topic of the next blogpost. 139 | 140 | Thanks to all open resources. Please comment, fork, issue, star the work-in-progress on our [GitHub repository](https://github.com/MangoTheCat/blog_GoTr). 141 | -------------------------------------------------------------------------------- /data/game-of-thrones-kaggle/battles.csv: -------------------------------------------------------------------------------- 1 | name,year,battle_number,attacker_king,defender_king,attacker_1,attacker_2,attacker_3,attacker_4,defender_1,defender_2,defender_3,defender_4,attacker_outcome,battle_type,major_death,major_capture,attacker_size,defender_size,attacker_commander,defender_commander,summer,location,region,note Battle of the Golden Tooth,298,1,Joffrey/Tommen Baratheon,Robb Stark,Lannister,,,,Tully,,,,win,pitched battle,1,0,15000,4000,Jaime Lannister,"Clement Piper, Vance",1,Golden Tooth,The Westerlands, Battle at the Mummer's Ford,298,2,Joffrey/Tommen Baratheon,Robb Stark,Lannister,,,,Baratheon,,,,win,ambush,1,0,,120,Gregor Clegane,Beric Dondarrion,1,Mummer's Ford,The Riverlands, Battle of Riverrun,298,3,Joffrey/Tommen Baratheon,Robb Stark,Lannister,,,,Tully,,,,win,pitched battle,0,1,15000,10000,"Jaime Lannister, Andros Brax","Edmure Tully, Tytos Blackwood",1,Riverrun,The Riverlands, Battle of the Green Fork,298,4,Robb Stark,Joffrey/Tommen Baratheon,Stark,,,,Lannister,,,,loss,pitched battle,1,1,18000,20000,"Roose Bolton, Wylis Manderly, Medger Cerwyn, Harrion Karstark, Halys Hornwood","Tywin Lannister, Gregor Clegane, Kevan Lannister, Addam Marbrand",1,Green Fork,The Riverlands, Battle of the Whispering Wood,298,5,Robb Stark,Joffrey/Tommen Baratheon,Stark,Tully,,,Lannister,,,,win,ambush,1,1,1875,6000,"Robb Stark, Brynden Tully",Jaime Lannister,1,Whispering Wood,The Riverlands, Battle of the Camps,298,6,Robb Stark,Joffrey/Tommen Baratheon,Stark,Tully,,,Lannister,,,,win,ambush,0,0,6000,12625,"Robb Stark, Tytos Blackwood, Brynden Tully","Lord Andros Brax, Forley Prester",1,Riverrun,The Riverlands, Sack of Darry,298,7,Joffrey/Tommen Baratheon,Robb Stark,Lannister,,,,Darry,,,,win,pitched battle,0,0,,,Gregor Clegane,Lyman Darry,1,Darry,The Riverlands, Battle of Moat Cailin,299,8,Balon/Euron Greyjoy,Robb Stark,Greyjoy,,,,Stark,,,,win,pitched battle,0,0,,,Victarion Greyjoy,,1,Moat Cailin,The North, Battle of Deepwood Motte,299,9,Balon/Euron Greyjoy,Robb Stark,Greyjoy,,,,Stark,,,,win,siege,0,0,1000,,Asha Greyjoy,,1,Deepwood Motte,The North, Battle of the Stony Shore,299,10,Balon/Euron Greyjoy,Robb Stark,Greyjoy,,,,Stark,,,,win,ambush,0,0,264,,Theon Greyjoy,,1,Stony Shore,The North,"Greyjoy's troop number based on the Battle of Deepwood Motte, in which Asha had 1000 soldier on 30 longships. That comes out to ~33 per longship. In the Battle of the Stony Shore, Theon has 8 longships, and just we can estimate that he has 8*33 =265 troops." Battle of Torrhen's Square,299,11,Robb Stark,Balon/Euron Greyjoy,Stark,,,,Greyjoy,,,,win,pitched battle,0,0,244,900,"Rodrik Cassel, Cley Cerwyn",Dagmer Cleftjaw,1,Torrhen's Square,The North,Greyjoy's troop number comes from the 264 estimate to have arrived on the stony shore minus the 20 Theon takes to attack Winterfell. Thus 264-20=244 Battle of Winterfell,299,12,Balon/Euron Greyjoy,Robb Stark,Greyjoy,,,,Stark,,,,win,ambush,0,1,20,,Theon Greyjoy,Bran Stark,1,Winterfell,The North,"It isn't mentioned how many Stark men are left in Winterfell, other than ""very few""." Sack of Torrhen's Square,299,13,Balon/Euron Greyjoy,Balon/Euron Greyjoy,Greyjoy,,,,Stark,,,,win,siege,0,1,,,Dagmer Cleftjaw,,1,Torrhen's Square,The North, Sack of Winterfell,299,14,Joffrey/Tommen Baratheon,Robb Stark,Bolton,Greyjoy,,,Stark,,,,win,ambush,1,0,618,2000,"Ramsay Snow, Theon Greyjoy ","Rodrik Cassel, Cley Cerwyn, Leobald Tallhart",1,Winterfell,The North,"Since House Bolton betrays the Starks for House Lannister, we code this battle as between these two houses. Greyjoy men, numbering only 20, don't play a major part in the fighting and end up dying anyway." Battle of Oxcross,299,15,Robb Stark,Joffrey/Tommen Baratheon,Stark,Tully,,,Lannister,,,,win,ambush,1,1,6000,10000,"Robb Stark, Brynden Tully","Stafford Lannister, Roland Crakehall, Antario Jast",1,Oxcross,The Westerlands, Siege of Storm's End,299,16,Stannis Baratheon,Renly Baratheon,Baratheon,,,,Baratheon,,,,win,siege,1,0,5000,20000,"Stannis Baratheon, Davos Seaworth","Renly Baratheon, Cortnay Penrose, Loras Tyrell, Randyll Tarly, Mathis Rowan",1,Storm's End,The Stormlands, Battle of the Fords,299,17,Joffrey/Tommen Baratheon,Robb Stark,Lannister,,,,Tully,,,,loss,pitched battle,0,0,20000,10000,"Tywin Lannister, Flement Brax, Gregor Clegane, Addam Marbrand, Lyle Crakehall, Leo Lefford","Edmure Tully, Jason Mallister, Karyl Vance",1,Red Fork,The Riverlands, Sack of Harrenhal,299,18,Robb Stark,Joffrey/Tommen Baratheon,Stark,,,,Lannister,,,,win,ambush,1,0,100,100,"Roose Bolton, Vargo Hoat, Robett Glover",Amory Lorch,1,Harrenhal,The Riverlands, Battle of the Crag,299,19,Robb Stark,Joffrey/Tommen Baratheon,Stark,,,,Lannister,,,,win,ambush,0,0,6000,,"Robb Stark, Smalljon Umber, Black Walder Frey",Rolph Spicer,1,Crag,The Westerlands, Battle of the Blackwater,299,20,Stannis Baratheon,Joffrey/Tommen Baratheon,Baratheon,,,,Lannister,,,,loss,pitched battle,1,1,21000,7250,"Stannis Baratheon, Imry Florent, Guyard Morrigen, Rolland Storm, Salladhor Saan, Davos Seaworth","Tyrion Lannister, Jacelyn Bywater, Sandor Clegane, Tywin Lannister, Garlan Tyrell, Mace Tyrell, Randyll Tarly",1,King's Landing,The Crownlands, Siege of Darry,299,21,Robb Stark,Joffrey/Tommen Baratheon,Darry,,,,Lannister,,,,win,siege,0,0,,,Helman Tallhart,,1,Darry,The Riverlands, Battle of Duskendale,299,22,Robb Stark,Joffrey/Tommen Baratheon,Stark,,,,Lannister,,,,loss,pitched battle,1,0,3000,,"Robertt Glover, Helman Tallhart","Randyll Tarly, Gregor Clegane",1,Duskendale,The Crownlands, Battle of the Burning Septry,299,23,,,Brotherhood without Banners,,,,Brave Companions,,,,win,pitched battle,0,0,,,,,1,,The Riverlands, Battle of the Ruby Ford,299,24,Joffrey/Tommen Baratheon,Robb Stark,Lannister,,,,Stark,,,,win,pitched battle,0,0,,6000,Gregor Clegane,"Roose Bolton, Wylis Manderly",,Ruby Ford,The Riverlands, Retaking of Harrenhal,299,25,Joffrey/Tommen Baratheon,,Lannister,,,,Brave Companions,,,,win,pitched battle,1,0,,,Gregor Clegane,Vargo Hoat,1,Harrenhal,The Riverlands, The Red Wedding,299,26,Joffrey/Tommen Baratheon,Robb Stark,Frey,Bolton,,,Stark,,,,win,ambush,1,1,3500,3500,"Walder Frey, Roose Bolton, Walder Rivers",Robb Stark,1,The Twins,The Riverlands,"This observation refers to the battle against the Stark men, not the attack on the wedding" Siege of Seagard,299,27,Robb Stark,Joffrey/Tommen Baratheon,Frey,,,,Mallister,,,,win,siege,0,1,,,Walder Frey,Jason Mallister,1,Seagard,The Riverlands, Battle of Castle Black,300,28,Stannis Baratheon,Mance Rayder,Free folk,Thenns,Giants,,Night's Watch,Baratheon,,,loss,siege,1,1,100000,1240,"Mance Rayder, Tormund Giantsbane, Harma Dogshead, Magnar Styr, Varamyr","Stannis Baratheon, Jon Snow, Donal Noye, Cotter Pyke",0,Castle Black,Beyond the Wall, Fall of Moat Cailin,300,29,Joffrey/Tommen Baratheon,Balon/Euron Greyjoy,Bolton,,,,Greyjoy,,,,win,siege,0,0,,,Ramsey Bolton,,0,Moat Cailin,The North, Sack of Saltpans,300,30,,,Brave Companions,,,,,,,,win,razing,0,0,,,Rorge,,0,Saltpans,The Riverlands, Retaking of Deepwood Motte,300,31,Stannis Baratheon,Balon/Euron Greyjoy,Baratheon,Karstark,Mormont,Glover,Greyjoy,,,,win,pitched battle,0,0,4500,200,"Stannis Baratheon, Alysane Mormot",Asha Greyjoy,0,Deepwood Motte,The North, Battle of the Shield Islands,300,32,Balon/Euron Greyjoy,Joffrey/Tommen Baratheon,Greyjoy,,,,Tyrell,,,,win,pitched battle,0,0,,,"Euron Greyjoy, Victarion Greyjoy",,0,Shield Islands,The Reach, "Invasion of Ryamsport, Vinetown, and Starfish Harbor",300,33,Balon/Euron Greyjoy,Joffrey/Tommen Baratheon,Greyjoy,,,,Tyrell,,,,win,razing,0,0,,,"Euron Greyjoy, Victarion Greyjoy",,0,"Ryamsport, Vinetown, Starfish Harbor",The Reach, Second Seige of Storm's End,300,34,Joffrey/Tommen Baratheon,Stannis Baratheon,Baratheon,,,,Baratheon,,,,win,siege,0,0,,200,"Mace Tyrell, Mathis Rowan",Gilbert Farring,0,Storm's End,The Stormlands, Siege of Dragonstone,300,35,Joffrey/Tommen Baratheon,Stannis Baratheon,Baratheon,,,,Baratheon,,,,win,siege,0,0,2000,,"Loras Tyrell, Raxter Redwyne",Rolland Storm,0,Dragonstone,The Stormlands, Siege of Riverrun,300,36,Joffrey/Tommen Baratheon,Robb Stark,Lannister,Frey,,,Tully,,,,win,siege,0,0,3000,,"Daven Lannister, Ryman Fey, Jaime Lannister",Brynden Tully,0,Riverrun,The Riverlands, Siege of Raventree,300,37,Joffrey/Tommen Baratheon,Robb Stark,Bracken,Lannister,,,Blackwood,,,,win,siege,0,1,1500,,"Jonos Bracken, Jaime Lannister",Tytos Blackwood,0,Raventree,The Riverlands, Siege of Winterfell,300,38,Stannis Baratheon,Joffrey/Tommen Baratheon,Baratheon,Karstark,Mormont,Glover,Bolton,Frey,,,,,,,5000,8000,Stannis Baratheon,Roose Bolton,0,Winterfell,The North, -------------------------------------------------------------------------------- /data/game-of-thrones-kaggle/character-deaths.csv: -------------------------------------------------------------------------------- 1 | Name,Allegiances,Death Year,Book of Death,Death Chapter,Book Intro Chapter,Gender,Nobility,GoT,CoK,SoS,FfC,DwD Addam Marbrand,Lannister,,,,56,1,1,1,1,1,1,0 Aegon Frey (Jinglebell),None,299,3,51,49,1,1,0,0,1,0,0 Aegon Targaryen,House Targaryen,,,,5,1,1,0,0,0,0,1 Adrack Humble,House Greyjoy,300,5,20,20,1,1,0,0,0,0,1 Aemon Costayne,Lannister,,,,,1,1,0,0,1,0,0 Aemon Estermont,Baratheon,,,,,1,1,0,1,1,0,0 Aemon Targaryen (son of Maekar I),Night's Watch,300,4,35,21,1,1,1,0,1,1,0 Aenys Frey,None,300,5,,59,0,1,1,1,1,0,1 Aeron Greyjoy,House Greyjoy,,,,11,1,1,0,1,0,1,0 Aethan,Night's Watch,,,,0,1,0,0,0,1,0,0 Aggar,House Greyjoy,299,2,56,50,1,0,0,1,0,0,0 Aggo,House Targaryen,,,,54,1,0,1,1,1,0,1 Alan of Rosby,Night's Watch,300,5,4,18,1,1,0,1,1,0,1 Alayaya,None,,,,15,0,0,0,1,0,0,0 Albar Royce,Arryn,,,,38,1,1,1,0,0,1,0 Albett,Night's Watch,,,,26,1,0,1,0,0,0,0 Alebelly,House Stark,299,2,46,4,1,0,0,1,0,0,0 Alerie Hightower,House Tyrell,,,,6,0,1,0,0,1,1,0 Alesander Staedmon,Baratheon,,,,65,1,1,0,1,0,0,0 Alester Florent,Baratheon,300,4,,36,1,1,0,1,1,0,0 Alia of Braavos,None,,,,28,0,0,1,0,0,0,0 Alla Tyrell,House Tyrell,,,,6,0,1,0,0,1,1,0 Allard Seaworth,Baratheon,299,2,10,10,1,1,0,1,0,0,0 Alliser Thorne,Night's Watch,,,,19,1,0,1,1,1,0,1 Alyn,House Stark,298,3,34,12,1,0,1,0,0,0,0 Alyn Ambrose,Tyrell,,,,59,1,1,0,1,0,1,0 Alyn Estermont,Baratheon,,,,,1,1,0,1,1,0,0 Alyn Stackspear,Lannister,,,,16,1,1,0,0,0,1,0 Alys Karstark,Stark,,,,44,0,1,0,0,0,0,1 Alysane Mormont,Stark,,,,35,0,1,0,0,0,0,1 Alyx Frey,None,,,,49,1,1,0,0,1,0,0 Ambrode,Greyjoy,,,,24,1,0,0,1,0,0,0 Amory Lorch,House Lannister,299,2,47,14,1,1,0,1,0,0,0 Andar Royce,Arryn,,,,29,1,1,1,0,0,0,0 Andrew Estermont,Baratheon,,,,36,1,1,0,0,1,0,0 Andrey Dalt,Martell,,,,21,1,1,0,0,0,1,0 Andrik,Greyjoy,,,,19,1,1,0,0,0,1,0 Anguy,None,,,,30,1,0,1,0,1,0,0 Antario Jast,Lannister,,,,32,1,1,0,1,0,0,0 Anvil Ryn,None,299,3,34,34,1,0,0,0,1,0,0 Anya Waynwood,Arryn,,,,38,0,1,1,0,0,1,0 Archibald Yronwood,Martell,,,,6,1,1,0,0,0,0,1 Ardrian Celtigar,Baratheon,,,,10,1,1,0,1,1,0,0 Areo Hotah,House Martell,,,,2,1,0,0,0,0,1,1 Arianne Martell,House Martell,,,,2,0,1,0,0,0,1,1 Arneld,Lannister,,,,59,1,0,0,1,0,0,0 Arnolf Karstark,Stark,,,,3,1,1,0,0,0,0,1 Aron Santagar,Lannister,299,2,41,18,1,1,1,1,0,0,0 Arron,Night's Watch,,,,75,1,0,0,0,1,0,1 Arron Qorgyle,Martell,,,,38,1,1,0,0,1,0,0 Arryk (Guard),House Tyrell,,,,6,1,0,0,0,1,1,0 Arson,Wildling,,,,26,1,0,0,0,1,0,0 Arthor Karstark,Stark,,,,62,1,1,0,0,0,0,1 Arwyn Frey,None,,,,49,0,1,0,0,1,0,0 Arwyn Oakheart,Tyrell,,,,22,0,1,0,1,0,0,0 Arya Stark,Stark,,,,2,0,1,1,1,1,1,1 Arys Oakheart,Lannister,300,4,21,57,1,1,1,1,0,1,0 Asha Greyjoy,House Greyjoy,,,,11,0,1,0,1,0,1,1 Aurane Waters,Lannister,,,,65,1,0,0,1,0,1,0 Axell Florent,Baratheon,,,,0,1,1,0,1,1,0,1 Azzak,None,,,,2,1,1,0,0,0,0,1 Ballabar,Lannister,,,,4,1,0,0,1,0,0,0 Balon Swann,Lannister,,,,29,1,1,1,1,1,1,1 Bannen,Night's Watch,299,3,33,0,1,0,0,0,1,0,0 Barbrey Dustin,Stark,,,,26,0,1,0,0,0,0,1 Barra,None,299,2,39,35,0,0,1,0,0,0,0 Barristan Selmy,Targaryen,,,,15,1,1,1,1,1,0,1 Barsena,None,300,5,52,11,0,0,0,0,0,0,1 Barth (brewer),House Stark,,,,50,1,0,0,1,0,0,0 Bass,Night's Watch,,,,52,1,0,1,0,0,0,0 Bayard Norcross,Tyrell,,,,28,1,1,0,0,0,1,0 Bearded Ben,Night's Watch,,,,,1,0,0,0,0,1,0 Becca,House Arryn,,,,12,0,0,1,0,0,0,0 Becca the Baker,None,299,3,34,34,0,0,0,0,1,0,0 Bedwyck,Night's Watch,,,,13,1,0,0,1,1,0,1 Belaquo,None,,,,52,1,0,0,0,0,0,1 Bella,None,,,,29,0,0,0,0,1,0,0 Bellegere Otherys (courtesan),None,,,,34,0,1,0,0,0,1,0 Bellonara Otherys,None,,,,34,0,1,0,0,0,1,0 Belwas,House Targaryen,,,,63,1,0,0,1,1,0,1 Ben,None,,,,37,1,0,0,0,0,1,0 Ben Bones,None,,,,12,1,0,0,0,0,0,1 Ben Plumm,None,,,,57,1,0,0,0,1,0,1 Benedar Belmore,Arryn,,,,23,1,1,0,0,0,1,0 Benfred Tallhart,Stark,299,2,37,16,1,1,0,1,0,0,0 Benfrey Frey,None,299,5,51,51,1,1,0,0,1,0,0 Benjen Stark,Night's Watch,298,1,24,5,1,1,1,0,0,0,0 Bennet,None,300,4,31,31,1,0,0,0,0,1,0 Beric Dondarrion,None,300,4,27,42,1,1,1,0,1,0,0 Bessa (Winterfell),Stark,,,,37,0,0,1,0,0,0,0 Beth Cassel,Stark,,,,7,0,1,1,1,0,0,0 Bhakaz zo Loraq,None,,,,2,1,1,0,0,0,0,1 Big Boil,Wildling,,,,41,1,0,0,0,1,0,0 Big Walder Frey,None,,,,,1,1,1,1,0,0,1 Biter,None,300,4,37,1,1,0,0,1,0,1,0 Black Bernarr,Night's Watch,,,,18,1,0,0,0,1,0,1 Black Walder Frey,None,,,,35,1,1,0,0,1,0,0 Blane,Night's Watch,,,,23,1,0,0,1,0,0,0 Bloodbeard,None,,,,25,1,0,0,0,0,0,1 Blue Bard,House Tyrell,,,,12,1,0,0,0,0,1,0 Bonifer Hasty,Lannister,,,,65,1,1,0,1,0,1,0 Borcas,Night's Watch,,,,48,1,0,1,0,0,0,0 Boremund Harlaw,Greyjoy,,,,11,1,1,0,0,0,1,0 Boros Blount,Baratheon,,,,8,1,1,1,1,1,1,1 Borroq,Wildling,,,,0,1,0,0,0,0,0,1 Bowen Marsh,Night's Watch,,,,21,1,0,1,0,1,0,1 Bran Stark,House Stark,,,,1,1,1,1,1,1,0,1 Brandon Norrey,Stark,,,,49,1,1,0,0,0,0,1 Brenett,None,,,,49,1,0,0,0,1,0,0 Brienne of Tarth,Stark,,,,22,0,1,0,1,1,1,1 Bronn,Lannister,,,,28,1,1,1,1,1,0,0 Brown Bernarr,Night's Watch,299,3,33,23,1,0,0,1,1,0,0 Brusco,None,,,,22,1,0,0,0,0,1,1 Bryan Fossoway,Baratheon,299,2,62,42,1,1,1,1,0,0,0 Bryce Caron,Baratheon,299,2,65,29,1,1,1,1,0,0,0 Bryen,None,,,,68,1,0,0,0,1,0,0 Bryen Farring,Baratheon,300,5,62,10,1,1,0,1,0,0,1 Brynden Rivers,House Targaryen,,,,34,1,1,0,0,0,0,1 Brynden Tully,House Tully,,,,2,1,1,1,1,1,1,0 Burton Crakehall,Lannister,299,2,7,55,1,1,1,1,0,0,0 Butterbumps,House Tyrell,,,,6,1,0,0,0,1,0,0 Byam Flint,Night's Watch,299,3,33,33,1,0,0,0,1,0,0 Byan Votyris,None,,,,54,1,0,1,0,0,0,0 Byron,Arryn,,,,41,1,0,0,0,0,1,0 Cadwyn,House Lannister,,,,47,1,0,0,1,0,0,0 Caleotte,House Martell,,,,2,1,0,0,0,0,1,1 Catelyn Tully,House Stark,299,3,51,2,0,1,1,1,1,0,0 Cayn,House Stark,298,1,49,4,1,0,1,0,0,0,0 Cellador,Night's Watch,,,,48,1,0,1,0,1,0,1 Cersei Frey,None,,,,49,0,1,0,0,1,0,0 Cersei Lannister,House Lannister,,,,4,0,1,1,1,1,1,1 Chataya,None,,,,15,0,0,0,1,0,0,0 Chayle,Stark,299,2,50,9,1,0,1,1,0,0,0 Chella,Lannister,,,,56,0,0,1,1,1,0,0 Chett,Night's Watch,299,3,46,41,1,0,1,1,1,0,0 Chiggen,Lannister,298,1,42,31,1,0,1,0,0,0,0 Chiswyck,None,299,2,30,26,1,0,0,1,0,0,0 Clayton Suggs,Baratheon,,,,17,1,0,0,0,0,0,1 Clement Piper,Tully,,,,38,1,1,0,0,0,1,0 Cleos Frey,None,299,3,21,7,1,1,0,1,1,0,0 Cley Cerwyn,Stark,299,2,66,16,1,1,0,1,0,0,0 Clubfoot Karl,Night's Watch,300,5,4,0,1,0,0,0,1,0,1 Clydas,Night's Watch,,,,41,1,0,1,0,1,1,1 Cohollo,None,298,1,64,11,1,0,1,0,0,0,0 Coldhands,None,,,,46,1,0,0,0,1,0,1 Colemon,House Arryn,,,,34,1,0,1,0,1,1,0 Colen of Greenpools,House Baratheon,,,,22,1,1,0,1,0,0,0 Conn,Lannister,298,1,62,42,1,0,1,0,0,0,0 Conwy,Night's Watch,,,,6,1,0,0,1,0,0,0 Corliss Penny,Baratheon,,,,26,1,0,0,0,0,0,1 Cortnay Penrose,Baratheon,299,2,42,31,1,1,0,1,0,0,0 Cotter Pyke,Night's Watch,,,,48,1,0,0,0,1,0,0 Cragorn,House Greyjoy,300,4,29,19,1,0,0,0,0,1,0 Craster,None,299,3,33,23,1,0,0,1,1,0,0 Cregan Karstark,Stark,,,,44,1,1,0,0,0,0,1 Creighton Longbough,None,,,,4,1,0,0,0,0,1,0 Cressen,Baratheon,299,1,0,0,1,0,0,1,0,0,0 Cuger,Night's Watch,,,,,1,0,1,0,0,0,0 Cutjack,None,,,,5,1,0,0,1,0,0,0 Daario Naharis,Targaryen,,,,42,1,0,0,0,1,0,1 Dacey Mormont,Stark,299,3,51,63,0,1,1,0,1,0,0 Daemon Sand,Martell,,,,38,1,0,0,0,1,0,1 Daenerys Targaryen,House Targaryen,,,,3,0,1,1,1,1,0,1 Dagon Codd,Greyjoy,300,5,20,20,1,1,0,0,0,0,1 Dagmer,House Greyjoy,,,,11,1,0,0,1,0,0,0 Dalbridge,Night's Watch,299,2,53,43,1,0,0,1,0,0,0 Dale Seaworth,Baratheon,299,2,58,10,1,1,0,1,0,0,0 Dalla,Wildling,300,3,76,73,0,1,0,0,1,0,0 Dalla (Dragonstone),Baratheon,,,,0,0,0,0,1,0,0,0 Damon Dance-for-Me,None,,,,12,1,0,0,0,0,0,1 Damon Vypren,None,,,,49,1,1,0,0,1,0,0 Dancy,None,,,,29,0,0,0,1,0,0,0 Danwell Frey,None,,,,59,1,1,1,1,1,1,0 Dareon,Night's Watch,300,4,34,19,1,0,1,0,0,1,0 Daryn Hornwood,Stark,298,1,63,63,1,1,1,0,0,0,0 Daven Lannister,House Lannister,,,,12,1,1,0,0,0,1,0 Davos Seaworth,Baratheon,,,,0,1,1,0,1,1,0,1 Del,Wildling,299,3,41,41,1,0,0,0,1,0,0 Delp,House Tully,299,3,20,39,1,0,0,1,1,0,0 Denys Drumm,Greyjoy,,,,19,1,1,0,0,0,1,0 Denys Mallister,Night's Watch,,,,48,1,1,0,0,1,0,0 Dermot,Baratheon,,,,65,1,0,0,1,0,1,0 Desmond,House Stark,298,1,50,1,1,0,1,0,0,0,0 Desmond Grell,Tully,,,,7,1,1,0,1,1,1,0 Devan Seaworth,Baratheon,,,,10,1,1,0,1,1,0,1 Deziel Dalt,Martell,,,,38,1,1,0,0,1,0,1 Dhazzar,None,,,,2,1,1,0,0,0,0,1 Dick Crabb,None,300,4,20,9,1,0,0,0,0,1,0 Dick Follard,Night's Watch,299,3,55,41,1,0,0,0,1,0,0 Dickon Manwoody,Martell,,,,38,1,1,0,0,1,0,0 Dirk,Night's Watch,300,5,4,0,1,0,0,0,1,0,1 Dobber,None,299,2,14,5,1,0,0,1,0,0,0 Donal Noye,Night's Watch,300,3,64,19,1,0,1,1,1,0,0 Donella Hornwood,Stark,299,2,35,16,0,1,0,1,0,0,0 Donnel Drumm,Greyjoy,,,,19,1,1,0,0,0,1,0 Donnel Haigh,None,,,,49,1,1,0,0,1,0,0 Donnel Hill,Night's Watch,,,,0,1,0,0,0,1,0,1 Donnel Locke,Stark,299,3,51,25,1,1,0,1,1,0,0 Donnel Waynwood,Tully,,,,34,1,1,1,0,0,0,0 Donnis,House Stark,,,,7,1,0,1,0,0,0,0 Dontos Hollard,None,300,3,61,57,1,1,1,1,1,0,0 Donyse,None,,,,72,0,0,0,0,1,0,0 Doran Martell,Martell,,,,2,1,1,0,0,0,1,1 Doreah,House Targaryen,299,2,12,11,0,0,1,1,0,0,0 Dornish Dilly,Night's Watch,299,3,55,55,1,0,0,0,1,0,0 Draqaz,None,,,,2,1,1,0,0,0,0,1 Drennan,House Greyjoy,299,2,50,50,1,0,0,1,0,0,0 Drogo,Targaryen,298,1,64,3,1,1,1,0,0,0,0 Dudley,Stark,299,3,34,34,1,0,0,0,1,0,0 Dunsen,None,,,,26,1,0,0,1,0,0,0 Dunstan Drumm,Greyjoy,,,,19,1,1,0,0,0,1,0 Duram Bar Emmon,Baratheon,,,,0,1,1,0,1,0,0,0 Dykk Harlaw,Greyjoy,299,2,66,66,1,0,0,1,0,0,0 Dywen,Night's Watch,,,,48,1,0,1,1,1,0,1 Easy,Night's Watch,300,3,55,55,1,0,0,0,1,0,0 Ebben,Night's Watch,299,2,68,43,1,0,0,1,0,0,0 Eddard Karstark,Stark,298,1,63,53,1,1,1,0,0,0,0 Eddard Stark,House Stark,299,1,65,1,1,1,1,0,0,0,0 Eddison Tollett,Night's Watch,,,,13,1,0,0,1,1,1,1 Edmure Tully,House Tully,,,,28,1,1,1,1,1,1,0 Edric Dayne,None,,,,34,1,1,0,0,1,0,0 Edric Storm,House Baratheon,,,,10,1,0,0,0,1,0,0 Edwyn Frey,None,,,,38,1,1,0,0,1,1,0 Eggon,None,,,,30,1,0,0,1,0,0,0 Elder Brother,None,,,,31,1,0,0,0,0,1,0 Eldred Codd,Greyjoy,,,,18,1,1,0,0,0,1,0 Eleyna Westerling,Stark,,,,45,0,1,0,0,1,1,0 Elinor Tyrell,Tyrell,,,,6,0,1,0,0,1,1,0 Ellaria Sand,Martell,,,,38,0,1,0,0,1,0,1 Elmar Frey,None,,,,59,1,1,1,1,1,0,0 Elyas Willum,Baratheon,,,,22,1,1,0,1,0,0,0 Emmon Cuy,Baratheon,299,2,42,33,1,1,0,1,0,0,0 Emmon Frey,Lannister,,,,29,1,1,1,0,0,1,0 Emmond,Greyjoy,,,,1,1,0,0,0,0,1,0 Emrick,Night's Watch,,,,75,1,0,0,0,1,0,1 Endehar,Greyjoy,,,,56,1,0,0,1,0,0,0 Elwood,House Tully,299,3,20,20,1,0,0,0,1,0,0 Endrew Tarth,Night's Watch,299,3,69,60,1,0,1,0,1,0,0 Enger,House Tully,,,,39,1,0,0,1,0,0,0 Eon Hunter,Arryn,300,3,80,38,1,1,1,0,1,0,0 Erik Ironmaker,Greyjoy,,,,19,1,1,0,0,0,1,0 Ermesande Hayford,None,,,,2,0,1,0,1,1,1,0 Eroeh,Targaryen,298,1,68,61,1,0,1,0,0,0,0 Erreck,None,,,,12,1,0,0,0,1,0,0 Erryk (Guard),House Tyrell,,,,6,1,0,0,0,1,1,0 Esgred,Greyjoy,,,,24,1,0,0,1,0,0,0 Ezzara,Targaryen,,,,30,0,0,0,0,0,0,1 Falia Flowers,Greyjoy,,,,29,0,0,0,0,0,1,0 Falyse Stokeworth,Lannister,300,5,36,2,0,1,0,1,0,1,0 Farlen,House Stark,299,2,56,46,1,0,0,1,0,0,0 Fat Walda Frey,None,,,,37,0,1,0,0,1,0,1 Flement Brax,Lannister,,,,56,1,1,1,0,1,1,0 Fletcher Will,None,299,3,34,34,1,0,0,0,1,0,0 Fogo,None,298,1,61,46,1,1,1,0,0,0,0 Forley Prester,Lannister,,,,33,1,1,0,0,0,1,0 Fornio,Night's Watch,,,,33,1,0,0,0,1,0,0 Frenken,Lannister,,,,15,1,0,0,1,1,0,0 Frenya,Wildling,300,5,69,37,0,0,0,0,0,0,1 Frynne,Martell,,,,40,0,0,0,0,0,1,0 Gage,House Stark,,,,4,1,1,0,1,0,0,0 Galazza Galare,None,,,,23,0,1,0,0,0,0,1 Galbart Glover,Stark,,,,55,1,1,1,0,1,0,0 Gared,Night's Watch,297,1,1,0,1,0,1,0,0,0,0 Garin (Orphan),Martell,,,,21,1,0,0,0,0,1,0 Gariss,House Stark,,,,50,1,0,0,1,0,0,0 Garlan Tyrell,House Tyrell,,,,62,1,1,0,1,1,1,0 Garrett Paege,Lannister,,,,30,1,1,0,0,0,1,0 Garse Goodbrook,None,299,3,,,1,1,0,0,1,0,0 Garth Greyfeather,Night's Watch,300,5,31,48,1,0,0,0,1,0,1 Garth of Greenaway,Night's Watch,300,5,4,33,1,0,0,0,1,0,1 Garth of Oldtown,Night's Watch,299,3,33,33,1,0,0,0,1,0,0 Gawen Westerling,Stark,,,,33,1,1,0,0,0,1,0 Gelmarr,House Greyjoy,299,2,56,50,1,0,0,1,0,0,0 Gendry,None,,,,27,1,0,1,1,1,1,0 Genna Lannister,Lannister,,,,33,0,1,0,0,0,1,0 Gerald Gower,Baratheon,,,,54,1,1,0,0,1,0,0 Gerold Dayne,Martell,,,,13,1,1,0,0,0,1,0 Gerren,None,299,2,19,14,1,0,0,1,0,0,0 Gerris Drinkwater,Martell,,,,6,1,1,0,0,0,0,1 Gevin Harlaw,Greyjoy,299,2,66,37,1,1,0,1,0,0,0 Ghael,None,,,,71,1,0,0,0,1,0,1 Ghost of High Heart,None,,,,22,0,0,0,0,1,0,0 Gillam,None,,,,31,1,0,0,0,0,1,0 Gilly,Wildling,,,,23,0,0,0,1,1,1,1 Gilwood Hunter,Arryn,,,,80,1,1,0,0,1,0,0 Gladden Wylde,Stark,298,1,55,43,1,1,1,0,0,0,0 Glendon Hewett,Night's Watch,,,,69,1,0,0,0,1,0,0 Goady,Night's Watch,,,,0,1,0,0,0,1,0,0 Godric Borrell,None,,,,9,1,1,0,0,0,0,1 Godry Farring,Baratheon,,,,3,1,1,0,0,0,0,1 Godwyn,House Lannister,,,,32,1,0,1,0,0,0,0 Goghor,None,,,,52,1,0,0,0,0,0,1 Gormond Goodbrother,Greyjoy,,,,1,1,1,0,0,0,1,0 Gorold Goodbrother,Greyjoy,,,,1,1,1,0,0,0,1,0 Gran Goodbrother,Greyjoy,,,,1,1,1,0,0,0,1,0 Grazdan,None,299,3,27,27,1,1,0,0,1,0,0 Grazdan mo Eraz,None,,,,42,1,1,0,0,1,0,0 Grazdan mo Ullhor,None,299,3,27,27,1,1,0,0,1,0,0 Grazdan zo Galare,None,,,,2,1,1,0,0,0,0,1 Grazdar zo Galare,None,,,,2,1,1,0,0,0,0,1 Gregor Clegane,Lannister,300,4,72,29,1,1,1,1,1,0,0 Grenn,Night's Watch,,,,19,1,0,1,1,1,1,1 Grey Worm,Targaryen,,,,42,1,0,0,0,1,0,1 Greydon Goodbrother,Greyjoy,,,,1,1,1,0,0,0,1,0 Grigg,Wildling,,,,30,1,0,0,0,1,0,0 Grisel,None,,,,68,0,0,0,0,1,0,0 Groleo,House Targaryen,300,5,59,,1,0,0,0,1,0,1 Grubbs,Night's Watch,300,5,4,0,1,0,0,0,1,0,1 Grunt,None,,,,12,1,0,0,0,0,0,1 Gueren,Night's Watch,,,,38,1,0,1,0,0,0,0 Guncer Sunglass,Baratheon,299,3,10,0,1,1,0,1,1,0,0 Guyard Morrigen,Baratheon,299,2,62,22,1,1,0,1,0,0,0 Gwin Goodbrother,Greyjoy,,,,1,0,1,0,0,0,1,0 Gylbert Farwynd,Greyjoy,,,,19,1,1,0,0,0,1,0 Gyles Farwynd,Greyjoy,,,,19,1,1,0,0,0,1,0 Gyles Grafton,Arryn,,,,41,1,1,0,0,0,1,0 Gyles Rosby,Lannister,300,4,39,57,1,1,1,1,1,1,0 Gynir,House Greyjoy,299,2,56,50,1,0,0,1,0,0,0 Gysella Goodbrother,Greyjoy,,,,1,0,1,0,0,0,1,0 Haggo,None,298,1,64,11,1,0,1,0,0,0,0 Hairy Hal,Night's Watch,300,5,31,55,1,0,0,0,1,1,1 Hake,Night's Watch,299,3,46,52,1,0,1,1,1,0,0 Halder,Night's Watch,,,,19,1,0,1,0,1,0,0 Haldon,House Targaryen,,,,8,1,0,0,0,0,0,1 Hali,Wildling,298,1,37,37,0,0,1,0,0,0,0 Hallis Mollen,Stark,,,,14,1,1,1,1,0,0,0 Hallyne,Lannister,,,,17,1,0,0,1,0,1,0 Halys Hornwood,Stark,298,1,62,53,1,1,1,0,0,0,0 Hamish the Harper,None,300,5,43,32,1,0,0,0,1,1,0 Hareth (Mole's Town),Night's Watch,,,,64,1,0,0,0,1,0,1 Harghaz,None,300,5,70,52,1,0,0,0,0,0,1 Harma,Wildling,300,3,75,0,0,1,0,0,1,0,0 Harmund Sharp,Greyjoy,,,,19,1,1,0,0,0,1,0 Harmune,Night's Watch,,,,78,1,0,0,0,0,0,1 Harra,None,299,2,64,26,0,0,0,1,0,0,0 Harrag Sharp,Greyjoy,299,5,19,66,1,1,0,1,0,1,0 Harras Harlaw,Greyjoy,,,,11,1,1,0,0,0,1,0 Harwood Fell,House Baratheon,300,5,42,17,1,1,0,0,0,0,1 Hazzea,None,300,5,11,11,0,0,0,0,0,0,1 Harrion Karstark,Stark,,,,53,1,1,1,1,0,0,0 Harry Strickland,None,,,,24,1,0,0,0,0,0,1 Harwin,Stark,,,,1,1,0,1,0,1,1,0 Harwood Stout,Stark,,,,32,1,1,0,0,0,0,1 Harys Haigh,None,,,,64,1,1,0,1,1,0,0 Harys Swyft,Lannister,,,,69,1,1,1,1,1,1,1 Helman Tallhart,Stark,299,3,37,55,1,1,1,0,1,0,0 Henly (Maester),None,,,,37,1,0,0,0,0,0,1 Heward,House Stark,298,1,35,35,1,0,1,0,0,0,0 High Sparrow,None,,,,4,1,0,0,0,0,1,1 Hobb,Night's Watch,,,,52,1,0,1,0,1,0,1 Hobber Redwyne,Tyrell,,,,27,1,1,1,1,1,1,0 Hod,None,,,,5,1,0,0,1,0,0,0 Hodor,House Stark,,,,24,1,0,1,1,1,0,1 Holger,None,,,,49,1,0,0,1,0,0,0 Holly,Wildling,300,5,69,37,0,0,0,0,0,0,1 Hop-Robin,Night's Watch,,,,75,1,0,0,0,1,0,1 Horas Redwyne,Tyrell,,,,27,1,1,1,1,0,1,0 Horton Redfort,Arryn,,,,23,1,1,0,0,0,1,0 Hosteen Frey,None,,,,59,1,1,1,1,1,0,1 Hoster Tully,House Tully,299,3,35,71,1,1,1,1,1,0,0 Hot Pie,None,,,,1,1,0,0,1,1,0,0 Hother Umber,Stark,,,,16,1,1,0,1,0,0,1 Howd Wanderer,Wildling,,,,58,1,1,0,0,0,0,1 Hubard Rambton,Baratheon,299,5,10,10,1,1,0,1,0,0,0 Hugh,House Arryn,298,1,29,25,1,0,1,0,0,0,0 Hugo Vance,Tully,,,,30,1,1,0,0,0,1,0 Hullen,House Stark,298,1,50,1,1,0,1,0,0,0,0 Humfrey Swyft,Lannister,,,,16,1,1,0,0,0,1,0 Husband,None,,,,11,1,0,0,0,1,0,0 Hyle Hunt,None,300,4,42,14,1,1,0,0,0,1,0 Iggo,None,299,3,3,3,1,0,0,0,1,0,0 Illyrio Mopatis,House Targaryen,,,,3,1,1,1,0,0,0,1 Ilyn Payne,Lannister,,,,15,1,1,1,1,1,1,0 Imry Florent,Baratheon,299,3,4,58,1,1,0,1,1,0,0 Iron Emmett,Night's Watch,,,,79,1,0,0,0,1,0,1 Irri,House Targaryen,,,,11,0,0,1,1,1,0,1 Ithoke,None,,,,11,1,0,0,0,0,0,1 Jacelyn Bywater,Lannister,299,2,19,8,0,1,0,1,0,0,0 Jack Bulwer,Night's Watch,300,5,31,64,1,0,0,0,1,1,1 Jack-Be-Lucky,None,,,,17,1,0,0,0,1,1,0 Jacks,House Stark,,,,22,1,0,1,1,0,0,0 Jaggot,None,,,,42,1,0,1,0,0,0,0 Jaime Lannister,Lannister,,,,5,1,1,1,1,1,1,1 Jalabhar Xho,None,,,,29,1,1,1,1,1,1,0 Janna Tyrell,Tyrell,,,,6,0,1,0,0,1,1,0 Janos Slynt,None,300,5,7,27,1,1,1,1,1,0,1 Jaqen H'ghar,None,,,,5,1,0,0,1,0,1,0 Jared Frey,None,300,5,37,59,1,1,1,1,0,0,1 Jaremy Rykker,Night's Watch,298,5,60,21,1,1,1,0,0,0,0 Jarl,Wildling,299,3,26,7,1,0,0,0,1,0,0 Jarman Buckwell,Night's Watch,300,5,21,13,1,0,0,1,0,0,1 Jason Mallister,Stark,,,,28,1,1,1,0,1,0,0 Jate,House Lannister,,4,44,44,1,0,0,0,0,1,0 Jate Blackberry,House Baratheon,,3,10,10,1,0,0,0,1,0,0 Jeor Mormont,Night's Watch,299,3,33,48,1,1,1,1,1,0,0 Jeren,Night's Watch,,,,19,1,0,1,0,0,0,0 Jeyne Poole,Stark,,,,7,0,1,1,0,1,0,1 Jeyne Westerling,Stark,,,,14,0,1,0,0,1,1,0 Jhaqo,None,,,,68,1,1,1,0,0,0,1 Jhezane,None,,,,2,0,1,0,0,0,0,1 Jhiqui,House Targaryen,,,,11,0,0,1,1,1,0,1 Jhogo,House Targaryen,,,,23,1,0,1,1,1,0,1 Jocelyn Swyft,Lannister,,,,3,0,1,0,0,0,1,1 Jodge,House Lannister,,,,30,1,0,0,1,0,0,0 Jojen Reed,Stark,,,,21,1,1,0,1,1,0,1 Jommy,House Baratheon,,,,0,1,0,0,1,0,0,0 Jon Bettley,Lannister,,,,16,1,1,0,0,0,1,0 Jon Connington,Targaryen,,,,5,1,1,0,0,0,0,1 Jon Fossoway,Baratheon,,,,22,1,1,0,1,0,0,0 Jon Snow,Night's Watch,,,,1,1,1,1,1,1,1,1 Jon Umber (Greatjon),Stark,,,,51,1,1,1,1,1,0,0 Joffrey Baratheon,House Lannister,300,3,60,5,1,1,1,1,1,0,0 Jon Umber (Smalljon),Stark,299,3,51,63,1,1,1,0,1,0,0 Jonelle Cerwyn,Stark,,,,53,0,1,1,0,0,0,0 Jonos Bracken,Tully,,,,28,1,1,1,0,1,0,1 Jorah Mormont,Targaryen,,,,23,1,1,1,1,1,0,1 Jory Cassel,Stark,298,1,35,1,1,1,1,0,0,0,0 Joseran,Greyjoy,,,,11,1,0,0,0,0,1,0 Joseth,House Stark,,,,37,1,0,1,1,0,0,0 Josmyn Peckledon,Lannister,,,,65,1,0,0,1,1,1,1 Joss,None,,,,43,1,0,1,0,0,0,0 Joss Stilwood,Lannister,,,,,1,0,1,0,0,0,0 Josua Willum,Baratheon,,,,22,1,1,0,1,0,0,0 Jothos Slynt,Lannister,,,,66,1,1,0,0,1,0,0 Joyeuse Erenford,None,,,,28,0,1,1,0,1,0,0 Justin Massey,Baratheon,,,,7,1,1,0,0,0,0,1 Jyck,House Lannister,298,1,31,21,1,0,1,0,0,0,0 Jynessa Blackmont,Martell,,,,38,0,1,0,0,1,0,0 Karyl Vance,Tully,,,,43,1,1,1,0,1,1,0 Kedge Whiteye,Night's Watch,,,,43,1,0,0,1,1,1,0 Kella,None,,,,68,0,0,0,0,1,0,0 Kennos of Kayce,Lannister,,,,6,1,1,0,0,1,1,1 Ketter,Night's Watch,,,,52,1,0,1,0,0,0,0 Kenned,House Greyjoy,299,2,66,66,1,0,0,1,0,0,0 Kerwin,House Tyrell,300,5,56,29,1,0,0,0,0,1,1 Kevan Lannister,House Lannister,300,5,,56,1,1,1,1,1,1,1 Kezmya,None,,,,2,0,1,0,0,0,0,1 Khorane Sathmantes,None,,,,10,1,0,0,0,1,0,0 Khrazz,None,300,5,67,11,1,0,0,0,0,0,1 Kindly man,None,,,,6,1,0,0,0,0,1,1 Kojja Mo,None,,,,35,0,0,0,0,0,1,0 Koss,Night's Watch,299,2,14,5,1,0,0,1,0,0,0 Kraznys mo Nakloz,None,299,3,27,23,1,1,0,0,1,0,0 Kromm,House Greyjoy,299,2,66,56,1,0,0,1,0,0,0 Kurleket,None,298,1,31,31,1,0,1,0,0,0,0 Kurz,Night's Watch,299,2,19,5,1,0,0,1,0,0,0 Kyle (Banners),None,299,3,39,39,1,0,0,0,1,0,0 Kyra,House Stark,300,5,12,37,0,0,1,1,0,0,1 Lady of the Leaves,None,,,,22,0,0,0,0,1,0,0 Lambert Turnberry,Lannister,,,,7,1,1,0,0,0,1,0 Lamprey,Baratheon,,,,25,1,0,0,0,1,0,0 Lancel Lannister,Lannister,,,,47,1,1,1,1,1,1,1 Lanna (Happy Port),None,,,,34,0,0,0,0,0,1,0 Lark,Night's Watch,299,3,46,23,1,0,0,1,1,0,0 Larra Blackmont,Martell,,,,38,0,1,0,0,1,0,0 Larraq,Targaryen,,,,59,1,0,0,0,0,0,1 Leathers,Night's Watch,,,,35,1,0,0,0,0,0,1 Left Hand Lew,Night's Watch,,,,48,1,0,0,0,1,0,1 Lem,None,,,,13,1,0,0,0,1,1,0 Lennocks,None,,,34,34,1,0,0,0,1,0,0 Lenwood Tawney,Greyjoy,,,,18,1,0,0,0,0,1,0 Leo Lefford,Lannister,299,2,45,62,1,1,1,1,0,0,0 Leo Tyrell,Tyrell,,,,0,1,1,0,0,0,1,0 Leobald Tallhart,Stark,299,2,66,16,1,1,0,1,0,0,0 Leona Woolfield,Stark,,,,19,0,1,0,0,0,0,1 Leonette Fossoway,Tyrell,,,,6,0,1,0,0,1,0,0 Lew,House Stark,,,,7,1,0,1,0,0,0,0 Lewis Lanster,None,,,,25,1,0,0,0,0,0,1 Lewys Lydden,Lannister,,,,62,1,1,1,1,0,0,0 Lewys Piper,Lannister,,,,27,1,1,0,0,0,1,0 Lharys,Stark,298,1,34,31,1,1,1,0,0,0,0 Little Walder Frey,None,300,5,51,59,1,1,1,1,0,0,1 Lollys Stokeworth,Lannister,,,,2,0,1,0,1,1,0,0 Lommy,Night's Watch,299,2,19,1,1,0,0,1,0,0,0 Loras Tyrell,Tyrell,,,,18,1,1,1,1,1,1,0 Lorcas,None,,,,45,1,0,0,0,0,1,0 Lord of Bones,Wildling,300,5,10,68,1,1,0,1,1,0,1 Lorent Caswell,Baratheon,,,,22,1,1,0,1,0,0,0 Lorren,Greyjoy,299,2,66,37,1,0,0,1,0,0,0 Lothar Frey,None,,,,35,1,1,0,0,1,0,0 Lothor Brune,None,,,,29,1,1,1,1,1,1,0 Lucan,None,299,2,64,38,1,0,0,1,0,0,0 Lucas Blackwood,Tully,299,3,51,22,1,1,0,1,1,0,0 Lucas Codd,Greyjoy,,,,11,1,1,0,0,0,1,0 Lucias Vypren,None,,,,49,1,1,0,0,1,0,0 Luco Prestayn,None,,,,22,1,0,0,0,0,1,0 Luke of Longtown,Night's Watch,,,,35,1,0,0,0,0,0,1 Luton,None,300,5,51,37,1,0,0,0,0,0,1 Luwin,House Stark,299,2,69,14,1,0,1,1,0,0,0 Lyle Crakehall,Lannister,,,,12,1,1,0,0,0,1,0 Lyman Darry,Tully,299,3,7,71,1,1,1,1,0,0,0 Lymond Goodbrook,Tully,,,,45,1,1,0,0,1,0,0 Lymond Lychester,Tully,,,,22,1,1,0,0,1,0,0 Lyn Corbray,Arryn,,,,38,1,1,1,0,0,1,0 Lyonel,None,,,,38,1,0,0,1,0,0,0 Lysa Tully,House Arryn,300,3,,34,0,1,1,0,1,0,0 Lysono Maar,None,,,,24,1,0,0,0,0,0,1 Mace Tyrell,House Tyrell,,,,62,1,1,0,1,1,1,1 Mad Huntsman,None,,,,29,1,0,0,0,1,0,0 Maege Mormont,Stark,,,,53,0,1,1,0,1,0,0 Maerie (Goodwife),None,299,3,34,34,0,0,0,0,1,0,0 Maerie (Whore),None,299,3,34,34,0,0,0,0,1,0,0 Mag Mar Tun Doh Weg,Wildling,300,3,64,15,1,1,0,0,1,0,0 Mago,None,,,,61,1,0,1,0,0,0,0 Mallador Locke,Night's Watch,299,5,18,13,1,0,0,1,1,0,0 Malliard,Lannister,,,,20,1,0,0,1,0,0,0 Mallor,House Lannister,,,,63,1,0,1,0,0,0,0 Mance Rayder,Wildling,,,,15,1,1,0,0,1,0,1 Mandon Moore,Baratheon,299,2,61,51,1,1,1,1,0,0,0 Maric Seaworth,House Baratheon,299,2,58,10,1,1,0,1,0,0,0 Marei,None,,,,29,0,0,0,1,0,0,0 Margaery Tyrell,House Tyrell,,,,22,0,1,0,1,1,1,0 Marillion,Arryn,300,4,23,28,1,0,1,0,1,1,0 Maris,Wildling,,,,58,0,0,0,0,0,0,1 Marissa Frey,None,,,,49,0,1,0,0,1,1,0 Mariya Darry,None,,,,30,0,1,0,0,0,1,0 Mark Mullendore,Tully,,,,22,1,1,0,1,0,0,0 Marlon Manderly,Stark,,,,19,1,1,0,0,0,0,1 Maron Volmark,Greyjoy,,,,18,1,1,0,0,0,1,0 Marq Piper,Tully,,,,56,1,1,1,0,1,0,0 Martyn Rivers,None,,,,29,1,1,1,1,1,0,0 Marwyn,None,,,,0,1,0,0,0,0,1,0 Marwyn Belmore,Arryn,,,,10,1,1,0,0,0,1,0 Masha Heddle,Tully,298,1,56,28,0,0,1,0,0,0,0 Maslyn,Night's Watch,299,3,18,0,1,0,0,0,1,0,0 Mathis Rowan,Lannister,,,,22,1,1,0,1,1,1,0 Mathos Mallarawan,None,,,,40,1,1,0,1,0,0,0 Matrice,Baratheon,,,,0,0,0,0,1,0,0,0 Matthos Seaworth,Baratheon,299,2,58,10,1,1,0,1,0,0,0 Matthar,Night's Watch,,,,41,1,0,1,0,0,0,0 Mawney,Night's Watch,300,5,4,18,1,0,0,0,1,0,1 Mebble,None,,,,47,1,0,0,1,0,0,0 Medger Cerwyn,Stark,299,2,30,53,1,1,1,1,0,0,0 Meera Reed,Stark,,,,21,0,1,0,1,1,0,1 Megga Tyrell,House Tyrell,,,,6,0,1,0,0,1,1,0 Meha,Wildling,,,,0,0,0,0,0,0,0,1 Mela,House Arryn,,,,23,0,0,0,0,0,1,0 Meldred Merlyn,Greyjoy,,,,1,1,1,0,0,0,1,0 Meliana,Stark,,,,69,0,0,0,0,1,0,0 Melisandre,Baratheon,,,,0,0,0,0,1,1,0,1 Mellei,House Martell,,,,40,0,0,0,0,0,1,0 Melly,None,,,,34,0,0,0,0,1,0,0 Meredyth Crane,Tyrell,,,,61,0,1,0,0,1,1,0 Meribald,None,,,,25,1,0,0,0,0,1,0 Merlon Crakehall,Lannister,,,,38,1,1,0,0,1,0,0 Mero,None,299,3,57,42,1,0,0,0,1,0,0 Merrett Frey,None,300,3,,59,1,1,1,0,1,0,0 Meryn Trant,Lannister,,,,8,1,1,1,1,1,1,1 Mezzara,None,,,,2,0,1,0,0,0,0,1 Mikken,House Stark,299,2,46,8,1,0,1,1,0,0,0 Miklaz,None,,,,2,1,1,0,0,0,0,1 Mirri Maz Duur,None,299,1,72,61,0,0,1,0,0,0,0 Missandei,House Targaryen,,,,23,0,0,0,0,1,0,1 Mohor,None,298,1,31,31,1,1,1,0,0,0,0 Mollander,None,,,,0,1,0,0,0,0,1,0 Monford Velaryon,Baratheon,299,3,25,0,1,1,0,1,0,0,0 Monster,Wildling,,,,33,1,0,0,0,1,1,1 Moon Boy,Baratheon,,,,29,1,0,1,1,1,1,0 Moqorro,Greyjoy,,,,33,1,0,0,0,0,0,1 Mord,House Arryn,,,,38,1,0,1,0,0,1,0 Mordane,House Stark,298,1,67,7,0,0,1,0,0,0,0 Moreo Tumitis,None,,,,18,1,0,1,0,0,0,0 Morgarth,None,,,,41,1,0,0,0,0,1,0 Morna White Mask,Wildling,,,,48,0,1,0,0,0,0,1 Moro,None,,,,3,1,1,1,0,0,0,0 Morra,House Martell,,,,40,0,0,0,0,0,1,0 Morrec,House Lannister,298,1,31,13,1,0,1,0,0,0,0 Morros Slynt,Lannister,,,,2,1,1,0,1,1,0,0 Mors Manwoody,Martell,,,,38,1,1,0,0,1,0,0 Mors Umber,Stark,,,,21,1,1,0,1,0,0,0 Morton Waynwood,Arryn,,,,40,1,1,1,0,0,0,0 Mudge (miller),None,299,3,34,34,1,0,0,0,1,0,0 Mully,Night's Watch,,,,55,1,0,0,0,1,1,1 Munciter,Lannister,,,,20,1,0,0,1,0,0,0 Murch,Night's Watch,,,,9,1,0,0,1,0,0,0 Murch (Winterfell),House Stark,,,,50,1,0,0,1,0,0,0 Mossador,House Targaryen,300,5,11,11,1,0,0,0,1,0,1 Murenmure,Greyjoy,,,,1,1,0,0,0,0,1,0 Muttering Bill,Night's Watch,300,5,4,,1,0,0,0,1,0,1 Mya Stone,Arryn,,,,34,0,0,1,0,0,1,0 Mycah,Stark,298,1,16,15,1,0,1,0,0,0,0 Myles,House Martell,,,,2,1,0,0,0,0,1,1 Myles Manwoody,Martell,,,,38,1,1,0,0,1,0,0 Myranda Royce,Arryn,,,,41,0,1,0,0,0,1,0 Myrcella Baratheon,Lannister,,,,5,0,1,1,1,0,1,0 Myria Jordayne,Martell,,,,38,0,0,0,0,1,0,1 Myrtle,Wildling,300,5,69,37,0,0,0,0,0,0,1 Nage,None,,,,44,1,0,0,0,1,0,0 Myles,House Tully,299,2,39,39,1,0,0,1,0,0,0 Nan,House Stark,,,,1,0,0,1,1,0,0,0 Narbert,None,,,,31,1,0,0,0,0,1,0 Nestor Royce,Arryn,,,,34,1,1,1,0,0,1,0 Nolla,None,299,3,34,34,0,0,0,0,1,0,0 Norjen,Greyjoy,,,,1,1,0,0,0,0,1,0 Nurse,None,300,5,57,57,1,0,0,0,0,0,1 Notch,None,,,,43,1,0,0,0,1,0,0 Nute,House Greyjoy,,,,18,1,0,0,0,0,1,0 Nymella Toland,Martell,,,,38,0,1,0,0,0,0,1 Nymeria Sand,House Martell,,,,2,0,1,0,0,0,1,1 Obara Sand,House Martell,,,,2,0,1,0,0,0,1,1 Oberyn Martell,House Martell,300,3,70,38,1,1,0,0,1,0,0 Ogo,None,298,1,61,46,1,1,1,0,0,0,0 Old Henly,Night's Watch,299,3,55,55,1,0,0,0,1,0,0 Olenna Redwyne,Tyrell,,,,19,0,1,0,0,1,1,0 Ollo Lophand,Night's Watch,300,5,4,0,1,0,0,0,1,0,1 Olyvar Frey,None,,,,59,1,1,1,0,0,0,0 Ondrew Locke,Stark,,,,37,1,1,0,0,0,0,1 Oppo,None,300,4,17,60,1,0,0,0,1,1,0 Orell,Wildling,299,2,51,51,1,0,0,1,0,0,0 Orphan Oss,Night's Watch,300,5,4,,1,0,0,0,1,0,1 Orton Merryweather,Lannister,,,,11,1,1,0,0,1,1,0 Osfryd Kettleblack,Lannister,,,,41,1,1,0,1,1,1,0 Osha,House Stark,,,,37,0,0,1,1,0,0,0 Osmund Kettleblack,Lannister,,,,41,1,1,0,1,1,1,0 Osney Kettleblack,Lannister,,,,41,1,1,0,1,1,1,0 Ossy,Arryn,,,,41,1,0,0,0,0,1,0 Oswell Kettleblack,None,,,,68,1,1,0,0,1,0,0 Othell Yarwyck,Night's Watch,,,,48,1,0,1,0,1,0,1 Ottyn Wythers,Night's Watch,299,3,48,13,1,0,0,1,1,0,0 Owen,Night's Watch,,,,55,1,0,0,0,1,0,1 Owen Norrey,Tully,299,3,51,51,1,1,0,0,1,0,0 Oznak zo Pahl,None,299,3,57,57,1,1,0,0,1,0,0 Palla,House Stark,,,,46,0,0,0,1,0,0,0 Parmen Crane,Baratheon,,,,22,1,1,0,1,0,0,0 Patchface,Baratheon,,,,0,1,0,0,1,1,0,1 Pate (novice),None,300,4,0,0,1,0,0,0,0,1,0 Pate (Lancewood),None,299,3,34,34,1,0,0,0,1,0,0 Pate (Night's Watch),Night's Watch,,,,60,1,0,1,0,0,0,0 Pate (Old),None,,,34,13,1,0,0,0,1,0,0 Patrek of King's Mountain,Baratheon,300,5,69,44,1,1,0,0,0,0,1 Patrek Mallister,Tully,,,,28,1,1,1,0,1,0,0 Paxter Redwyne,Tyrell,,,,65,1,1,0,1,1,1,0 Pello,None,,,,17,1,0,0,0,1,0,0 Penny,None,,,,60,0,0,0,0,1,0,1 Perros Blackmont,Martell,,,,38,1,1,0,0,1,0,0 Perwyn Frey,None,,,,29,1,1,1,1,0,0,0 Petyr Baelish,None,,,,18,1,0,1,1,1,1,0 Petyr Frey,None,300,3,,49,1,1,0,0,1,0,0 Philip Foote,Lannister,,,,65,1,1,0,1,1,0,0 Pia,None,,,,30,0,0,0,1,0,1,0 Podrick Payne,Lannister,,,,62,1,1,1,1,1,1,0 Polliver,None,300,3,27,26,1,0,0,1,1,0,0 Pono,None,,,,68,1,1,1,0,0,0,0 Porridge,Baratheon,,,,25,1,0,0,0,1,0,0 Porther,House Stark,299,2,21,22,1,0,1,1,0,0,0 Poul Pemford,House Tully,299,2,39,39,1,0,0,1,0,0,0 Poxy Tym,House Stark,299,2,69,16,1,0,0,1,0,0,0 Praed,None,299,2,9,5,1,0,0,1,0,0,0 Prendahl na Ghezn,None,299,3,42,42,1,0,0,0,1,0,0 Preston Greenfield,Baratheon,299,2,41,43,1,0,1,1,0,0,0 Pyat Pree,None,,,,12,1,1,0,1,0,0,0 Pycelle,House Lannister,300,5,,20,1,0,1,1,1,1,1 Pyg,None,300,4,20,20,1,0,0,0,1,1,0 Pylos,Baratheon,,,,0,1,0,0,1,1,0,0 Pypar,Night's Watch,,,,19,1,0,1,0,1,1,1 Qarl Shepherd,Greyjoy,,,,26,1,0,0,0,0,0,1 Qarl the Maid,Greyjoy,,,,42,1,0,0,1,0,1,1 Qezza,None,,,,2,0,0,0,0,0,0,1 Qhorin Halfhand,Night's Watch,299,2,68,43,1,0,0,1,0,0,0 Qotho,None,298,1,61,11,1,0,1,0,0,0,0 Quaithe,None,,,,12,0,1,0,1,1,0,1 Quaro,Targaryen,298,1,64,50,1,0,1,0,0,0,0 Quellon Humble,Greyjoy,,,,18,1,1,0,0,0,1,0 Quent,House Stark,,,,37,1,0,1,0,0,0,0 Quenten Banefort,Lannister,,,,16,1,1,0,0,0,1,0 Quentyn Martell,Martell,300,5,70,6,1,1,0,0,0,0,1 Quhuru Mo,None,,,,27,1,0,0,1,0,1,0 Qyburn,Lannister,,,,64,1,0,0,1,1,1,1 Quort,Wildling,299,3,55,41,1,0,0,0,1,0,0 Qyle,Night's Watch,299,2,2,2,1,0,0,1,0,0,0 Rafford,None,,,,19,1,0,0,1,0,1,0 Ragnor Pyke,House Greyjoy,,,,29,1,0,0,0,0,1,0 Ragwyle,Wildling,,,,68,0,0,0,1,0,0,0 Rakharo,House Targaryen,,,,54,1,0,1,1,1,0,1 Ralf Kenning,Greyjoy,300,5,20,18,1,0,0,0,0,1,1 Ralf Stonehouse,Greyjoy,,,,18,1,1,0,0,0,0,1 Ralf the Limper,Greyjoy,,,,18,1,0,0,0,0,1,1 Ramsay Snow,None,,,,16,1,1,0,1,0,0,1 Randa,None,299,3,34,34,0,0,0,0,1,0,0 Randyll Tarly,Tyrell,,,,22,1,1,0,1,0,1,1 Rast,Night's Watch,299,3,26,55,1,0,1,0,1,0,0 Ravella Swann,Tully,,,,22,0,1,0,0,1,0,0 Raymar Royce,Arryn,,,,45,1,1,0,0,1,0,0 Raymun Darry,Targaryen,298,1,55,16,1,1,1,0,0,0,0 Raymund Frey,None,,,,49,1,1,0,0,1,0,0 Raynald Westerling,Stark,299,3,44,14,1,1,0,0,1,1,0 Red Alyn,Night's Watch,300,3,69,55,1,0,0,0,1,0,0 Red Rolfe,House Greyjoy,299,2,66,66,1,0,0,1,0,0,0 Reek,None,299,2,35,16,1,0,0,1,0,0,0 Renly Baratheon,House Baratheon,299,2,33,15,1,1,1,1,0,0,0 Reysen,Night's Watch,,,,5,1,0,0,1,0,0,0 Reznak mo Reznak,None,,,,2,1,1,0,0,0,0,1 Rhaegar Frey,None,300,5,29,19,1,1,0,0,0,0,1 Rhogoro,None,,,,3,1,1,1,0,0,0,0 Ricasso,House Martell,,,,2,1,0,0,0,0,1,1 Richard Horpe,Baratheon,,,,17,1,1,0,0,0,0,1 Rickard Karstark,Stark,299,3,20,53,1,1,1,1,1,0,0 Rickard Ryswell,Stark,,,,20,1,1,0,0,0,0,1 Rickon Stark,House Stark,,,,7,1,1,1,1,0,0,0 Rigney,None,,,,11,1,0,0,0,0,1,0 Robar Royce,Baratheon,299,2,6,29,1,1,1,1,1,0,0 Robb Stark,House Stark,299,3,51,1,1,1,1,1,1,0,0 Robert Baratheon,House Baratheon,298,1,47,4,1,1,1,0,0,0,0 Robert Arryn,House Arryn,,,,40,1,1,1,0,1,1,0 Robett Glover,Stark,,,,53,1,1,1,1,0,0,1 Robin Flint,Stark,299,3,51,63,1,1,1,1,1,0,0 Robin Moreland,Lannister,,,,16,1,1,0,0,0,1,0 Robin Ryger,Tully,,,,7,1,1,0,1,1,1,0 Rodrik Cassel,Stark,299,2,66,7,1,1,1,1,0,0,0 Rodrik Harlaw,Greyjoy,,,,11,1,1,0,0,0,1,0 Rodrik Ryswell,None,,,,32,1,1,0,0,0,0,1 Roger Hogg,Lannister,,,,27,1,1,0,0,0,1,0 Roger Ryswell,Stark,,,,20,1,1,0,0,0,0,1 Roland Crakehall (Lord),Lannister,,,,32,1,1,0,1,0,0,0 Rolder,House Lannister,,,,21,1,0,0,0,0,1,0 Rolfe,Greyjoy,,,,24,1,0,0,1,0,0,0 Rollam Westerling,Stark,,,,14,1,1,0,0,1,0,0 Rolfe the Dwarf,House Greyjoy,300,5,26,26,1,0,0,0,0,0,1 Rolley,Night's Watch,299,3,33,0,1,0,0,0,1,0,0 Rolly Duckfield,Targaryen,,,,8,1,0,0,0,0,0,1 Rolph Spicer,Lannister,,,,14,1,1,0,0,1,0,0 Romny Weaver,Greyjoy,,,,18,1,1,0,0,0,1,0 Ronald Storm,None,,,,61,1,0,0,0,0,0,1 Ronnel Harclay,Night's Watch,,,,48,1,1,0,0,1,0,0 Ronnet Connington,Baratheon,,,,22,1,1,0,1,0,1,1 Roose Bolton,Stark,,,,33,1,1,1,1,1,0,1 Roose Ryswell,None,,,,32,1,1,0,0,0,0,1 Rorge,None,300,4,37,1,1,0,0,1,1,1,0 Roslin Frey,None,,,,35,0,1,0,0,1,0,0 Rowan,Wildling,300,5,69,37,1,0,0,0,0,0,1 Rudge,Night's Watch,,,,60,1,0,1,0,0,0,0 Rusty Flowers,Night's Watch,,,,7,1,0,0,0,0,0,1 Ryger Rivers,None,,,,59,1,0,1,0,0,0,0 Ryk,Wildling,,,,7,1,0,0,0,1,0,0 Rupert Brax,House Lannister,299,2,32,32,1,0,0,1,0,0,0 Ryman Frey,None,300,4,44,14,1,1,0,0,1,1,0 Rymolf Stormdrunk,House Greyjoy,,,,24,1,0,0,1,0,0,0 Ryon Allyrion,Martell,,,,38,1,1,0,0,1,0,1 Salladhor Saan,Baratheon,,,,0,1,1,0,1,1,0,0 Sallor,None,299,3,42,42,1,0,0,0,1,0,0 Samwell Tarly,Night's Watch,,,,70,1,1,1,1,1,1,1 Sandor Clegane,None,300,4,31,7,1,1,1,1,1,1,0 Sawane Botley,Greyjoy,299,4,18,1,1,1,0,0,0,1,0 Sansa Stark,Stark,,,,7,0,1,1,1,1,1,0 Sarella Sand,House Martell,,,,2,0,0,0,0,0,1,0 Sarra Frey,None,,,,49,0,1,0,0,1,0,0 Satin,Night's Watch,,,,6,1,0,0,1,1,0,1 Sawwood,Night's Watch,,,,0,1,0,0,0,1,0,0 Sedgekins,None,,,,50,1,0,0,0,1,0,0 Selyse Florent,Baratheon,,,,0,0,1,0,1,1,0,1 Senelle,House Lannister,300,4,24,3,0,0,0,0,0,1,0 Serra Frey,None,,,,49,0,1,0,0,1,0,0 Shadrich,None,,,,4,1,0,0,0,0,1,0 Shae,Lannister,300,3,77,62,0,0,1,1,1,0,0 Shagga,Lannister,,,,39,1,0,1,1,0,0,0 Shagwell,None,300,4,20,30,1,0,0,1,1,1,0 Sharna,None,,,,11,0,0,0,0,1,0,0 Shireen Baratheon,Baratheon,,,,0,0,1,0,1,1,0,1 Shirei Frey,None,,,,49,0,1,0,0,1,0,0 Shyra Errol,Baratheon,300,4,,42,0,1,0,1,0,0,0 Sigfry Stonetree,Greyjoy,,,,19,1,1,0,0,0,1,0 Skahaz mo Kandaq,None,,,,2,1,1,0,0,0,0,1 Skinner,None,,,,12,1,0,0,0,0,0,1 Small Paul,Night's Watch,299,3,18,0,1,0,0,0,1,0,0 Softfoot,Night's Watch,299,3,18,0,1,0,0,0,1,0,0 Sour Alyn,None,,,,12,1,0,0,0,0,0,1 Spare Boot,Night's Watch,,,,55,1,0,0,0,1,0,0 Spotted Cat,None,,,,11,1,0,0,0,0,0,1 Spotted Pate of Maidenpool,Night's Watch,299,3,55,0,1,0,0,0,1,0,0 Squint,House Greyjoy,299,2,50,50,1,0,0,1,0,0,0 Squirrel,Wildling,300,5,69,37,0,0,0,0,0,0,1 Stalwart Shield,Targaryen,300,5,2,2,1,0,0,0,0,0,1 Steelskin,None,,,,11,1,0,0,0,0,0,1 Steffon Swyft,Lannister,,,,27,1,1,0,0,0,1,0 Stevron Frey,Stark,299,2,35,59,1,1,1,1,0,0,0 Stiv,Wildling,298,1,37,37,1,0,1,0,0,0,0 Stone Thumbs,Wildling,299,3,55,41,1,0,0,0,1,0,0 Stonesnake,Night's Watch,,,,43,1,0,0,1,0,0,0 Stygg,House Greyjoy,,,,37,1,0,0,1,0,0,0 Styr,Wildling,300,3,26,7,1,1,0,0,1,0,0 Sybassion,None,,,,63,1,0,0,1,0,0,0 Sybell Spicer,Lannister,,,,14,0,1,0,0,1,1,0 Sybelle Glover,Stark,,,,26,0,1,0,0,0,0,1 Sylva Santagar,Martell,,,,21,0,1,0,0,0,1,0 Symon Silver Tongue,Lannister,299,3,32,44,1,0,0,1,1,0,0 Symon Stripeback,Targaryen,,,,70,1,0,0,0,0,0,1 Symond Frey,None,300,5,29,19,1,1,0,0,0,0,1 Symond Templeton,Arryn,,,,10,1,1,0,0,0,1,0 Syrio Forel,House Stark,298,1,50,22,1,0,1,0,0,0,0 Taena of Myr,Lannister,,,,6,0,1,0,0,1,1,0 Tal Toraq,Targaryen,,,,70,1,0,0,0,0,0,1 Tallad,Lannister,,,,17,1,0,0,1,1,1,0 Tanda Stokeworth,Lannister,300,4,32,2,0,1,0,1,1,0,0 Tanton Fossoway,Baratheon,,,,22,1,1,0,1,0,0,0 Ternesio Terys,None,,,,74,1,0,0,0,1,0,0 Terrance Lynderly,Arryn,,,,41,1,1,0,0,0,1,0 The Red Lamb,House Targaryen,,,,67,1,0,0,0,0,0,1 Theo Frey,None,,,,29,1,1,1,0,0,0,0 Theodan Wells,Stark,,,,43,1,1,0,0,0,1,1 Theomore Lannister,None,,,,19,1,1,0,0,0,0,1 Theon Greyjoy,House Greyjoy,,,,1,1,1,1,1,0,0,1 Thistle,Wildling,300,5,0,0,0,0,0,0,0,0,1 Thoren Smallwood,Night's Watch,299,3,18,6,1,1,0,1,1,0,0 Thoros,None,,,,29,1,0,1,0,1,1,0 Three Toes,None,,,,44,1,0,0,0,1,0,0 Three-Tooth,Greyjoy,,,,11,0,0,0,0,0,1,0 Tickler,Lannister,300,3,74,26,1,0,0,1,1,0,0 Tim Tangletongue,Night's Watch,,,,69,1,0,0,0,1,0,0 Timeon,None,300,4,20,21,1,0,0,0,1,1,0 Timett,Lannister,,,,56,1,0,1,1,0,0,0 Timon,Baratheon,,,,65,1,0,0,1,0,0,0 Tion Frey,Lannister,299,3,20,20,0,1,0,0,1,0,0 Tobho Mott,None,,,,27,1,0,1,0,1,0,0 Todder,Night's Watch,,,,19,1,0,1,0,1,0,1 Todric,Greyjoy,299,2,37,37,1,0,0,1,0,0,0 Tom of Sevenstreams,None,,,,13,1,0,0,0,1,1,0 Tomard,House Stark,298,1,49,22,1,0,1,0,0,0,0 Tormund,Wildling,,,,7,1,1,0,0,1,0,1 Torrek,None,,,,42,1,0,1,0,0,0,0 Torrhen Karstark,Stark,298,1,63,53,1,1,1,0,0,0,0 Tothmure,Lannister,299,2,64,30,1,0,0,1,0,0,0 Tregar,House Lannister,298,1,39,35,1,0,1,0,0,0,0 Tremond Gargalen,Martell,,,,38,1,1,0,0,1,0,1 Tristifer Botley,Greyjoy,,,,11,1,1,0,0,0,1,1 Triston Sunderland,Lannister,,,,9,1,1,0,0,0,0,1 Tuffleberry,None,,,,38,1,0,0,1,0,0,0 Tumberjon,Night's Watch,,,,0,1,0,0,0,1,0,0 Tumco Lho,Targaryen,,,,67,1,0,0,0,0,0,1 Tybero Istarion,None,,,,66,1,0,0,0,0,0,1 Tycho Nestoris,None,,,,44,1,0,0,0,0,0,1 Tyene Sand,House Martell,,,,38,0,1,0,0,0,1,1 Tymor,House Greyjoy,299,2,66,37,1,0,0,1,0,0,0 Tyrek Lannister,House Lannister,299,2,41,30,1,1,1,1,0,0,0 Tyrion Lannister,Lannister,,,,4,1,1,1,1,1,0,1 Tyta Frey,None,,,,49,0,1,0,0,1,0,0 Tytos Blackwood,Tully,,,,56,1,1,1,0,1,0,1 Tytos Brax,Lannister,,,,63,1,1,1,1,0,0,0 Tytos Frey,None,299,3,,,1,1,0,0,1,0,0 Tywin Lannister,House Lannister,300,3,77,42,1,1,1,1,1,0,0 Ulf son of Umar,Lannister,298,1,62,56,1,0,1,0,0,0,0 Ulf the Ill,House Greyjoy,299,2,66,66,1,0,0,1,0,0,0 Ulmer,Night's Watch,,,,33,1,0,0,0,1,0,1 Ulwyck Uller,Martell,,,,38,1,1,0,0,1,0,1 Umar,None,,,,56,1,0,1,0,0,0,0 Umfred,None,,,,68,1,0,0,0,1,0,0 Unella,None,,,,43,1,0,0,0,0,1,0 Urreg,Night's Watch,299,2,19,14,1,0,0,1,0,0,0 Urswyck,None,,,,21,1,0,0,0,1,0,0 Utherydes Wayn,Tully,,,,71,1,0,1,1,1,0,0 Utt,None,299,3,39,30,1,0,0,1,1,0,0 Val,Wildling,,,,7,0,0,0,0,1,0,1 Varamyr,Wildling,300,5,0,15,1,0,0,0,1,0,1 Vardis Egen,Arryn,298,1,40,34,1,0,1,0,0,0,0 Vargo Hoat,None,300,3,20,30,1,0,0,1,1,0,0 Varys,Targaryen,,,,25,1,0,1,1,1,0,1 Vayon Poole,Stark,298,1,21,7,1,0,1,1,0,0,0 Victarion Greyjoy,House Greyjoy,,,,24,1,1,0,1,0,1,1 Viserys Targaryen,House Targaryen,298,1,46,3,1,1,1,0,0,0,0 Vylarr,House Lannister,,,,3,1,0,0,1,0,0,0 Vyman,Tully,,,,55,1,0,0,1,1,1,0 Waif,None,,,,6,0,0,0,0,0,1,1 Walda Rivers (daughter of Aemon),None,,,,49,0,1,0,0,1,0,0 Walder Frey,None,,,,28,1,1,1,0,1,0,0 Walder Rivers,None,,,,35,1,1,0,0,1,1,0 Wallen,Wildling,298,1,37,37,1,0,1,0,0,0,0 Walton,None,,,,64,1,0,0,1,1,0,1 Wat (orphan),None,,,,37,1,0,0,0,0,1,0 Wat (sailor),None,,,,34,1,0,0,0,0,1,0 Watt,Night's Watch,299,3,75,69,1,0,0,0,1,0,0 Watty,None,,,,39,1,0,0,0,1,0,0 Waymar Royce,Night's Watch,297,1,0,0,1,1,1,0,0,0,0 Wayn (guard),House Stark,,,,37,1,0,1,0,0,0,0 Weasel,None,,,,9,0,0,0,1,0,0,0 Weeper,Wildling,,,,7,1,1,0,0,1,0,0 Weese,Lannister,299,2,38,26,1,0,0,1,0,0,0 Wendel Manderly,Stark,299,3,51,55,1,1,1,1,1,0,0 Wendello Qar Deeth,None,,,,40,1,1,0,1,0,0,0 Werlag,House Greyjoy,299,2,66,37,1,0,0,1,0,0,0 Wex Pyke,Stark,,,,24,1,0,0,1,0,0,1 Whalen Frey,None,,,,59,1,1,1,0,1,0,0 Wilbert,Stark,298,3,29,29,1,0,0,0,1,0,0 Will,Night's Watch,297,1,0,0,1,0,1,0,0,0,0 Will (orphan),None,,,,37,1,0,0,0,0,1,0 Willam Wells,Martell,300,5,6,6,1,0,0,0,0,0,1 Willem Lannister,House Lannister,299,3,20,19,1,1,0,0,1,0,0 William Mooton,Tully,,,,14,1,1,0,0,0,1,0 Willis Wode,Arryn,,,,31,1,1,1,0,0,0,0 Willit,Lannister,,,,65,1,0,0,1,0,0,0 Willow Witch-eye,Wildling,300,5,69,37,0,0,0,0,0,0,1 Willum,Tully,,,,43,1,0,1,0,0,0,0 Woth,Night's Watch,299,2,14,14,1,0,0,1,0,0,0 Wulfe,House Greyjoy,,,,29,1,0,0,0,0,1,1 Wun Weg Wun Dar Wun,Wildling,,,,35,1,0,0,0,0,0,1 Wyl (guard),House Stark,298,1,35,35,1,0,1,0,0,0,0 Wyl the Whittler,None,299,3,34,34,1,0,0,0,1,0,0 Wylis Manderly,Stark,,,,55,1,1,1,1,0,1,0 Wylla Manderly,Stark,,,,19,0,1,0,0,0,0,1 Wyman Manderly,Stark,,,,16,1,1,0,1,0,0,1 Wynafryd Manderly,Stark,,,,19,1,1,0,0,0,0,1 Wynton Stout,Night's Watch,,,,41,1,0,0,0,1,0,0 Xaro Xhoan Daxos,None,,,,12,1,1,0,1,0,0,1 Xhondo,None,,,,26,1,0,0,0,0,1,0 Yandry,House Targaryen,,,,8,1,0,0,0,0,0,1 Yellow Dick,None,300,5,46,12,1,0,0,0,0,0,1 Ygon Farwynd,Greyjoy,,,,19,1,1,0,0,0,1,0 Ygritte,Wildling,299,3,55,51,0,0,0,1,1,0,0 Yohn Farwynd,Greyjoy,,,,19,1,1,0,0,0,1,0 Yohn Royce,Arryn,,,,29,1,1,1,0,0,1,0 Yoren,Night's Watch,299,2,19,13,1,0,1,1,0,0,0 Young Henly,Night's Watch,299,3,55,55,1,0,0,0,1,0,0 Ysilla,House Targaryen,,,,8,1,0,0,0,0,0,1 Zei,Stark,,,,64,0,0,0,0,1,0,0 Zollo,None,,,,21,1,0,0,0,1,0,0 Yurkhaz zo Yunzak,None,300,5,59,47,1,0,0,0,0,0,1 Yezzan Zo Qaggaz,None,300,5,57,25,1,1,0,0,0,0,1 Torwynd the Tame,Wildling,300,5,73,73,1,0,0,0,1,0,0 Talbert Serry,Tyrell,300,4,29,29,1,1,0,0,0,1,0 --------------------------------------------------------------------------------