我无法添加属于数据集的唯一标识符。该集合包括first_name
,Email
(唯一ID)和DBO
。运行性别包时,如何添加电子邮件,以便结果如下所示:
Email, First_name,gender
library(gender)
names.df <- read.csv("/Users/danielca/Documents/Daniel/4-R/Names_20171214.csv")
gens <- gender(as.character(names.df$First.name)),names.df$email