Fail to extract the gender information from the first name in R
Advertisements I attempted to extract gender information from the first name using gender package in R. I tried both ‘ssa’ and ‘genderize’ for argument method. Here is my demo sample code. unique_id <- seq(0:6) first_name <- c("annie j", "Juan", "Richard", "Aj", "Dana", "annie j", "liyuan") demo1 <- as.data.frame(cbind(unique_id, first_name)) For ssa, it uses names based… Read More Fail to extract the gender information from the first name in R