Tidyverse

Gender of Frasier Characters

“I am not a man…” For work, I need to take a list of names and try to infer the gender. Here I try an R package on the character names in the TV show Fraiser. The gender package #install.packages("gender") #works fine ## user needs to download database too #install_genderdata_package() #did not work ("error reading from connection") ## as suggested by the bug report at https://github.com/ropensci/drat/issues/6 #install.packages("devtools") #library(devtools) #devtools::install_github("ropensci/genderdata") Trial Run library(gender) library(ggpubr) library(tidyverse) gender("frasier", method = "ssa", years = c(1940, 1990)) ## # A tibble: 1 x 6 ## name proportion_male proportion_female gender year_min year_max ## <chr> <dbl> <dbl> <chr> <dbl> <dbl> ## 1 frasier 1 0 male 1940 1990 Cast of Characters Now I will try to run the gender function over a list of names (criteria: characters that appeared in at least 6 episodes).