Description Usage Arguments Value Examples
View source: R/assign_gender.R
This function use the data source based on combined US/UK censor data to assign gender based on first name.
1 | assign_gender(data_df, first_name_col)
|
data_df, |
input dataframe containing the first name |
first_name_col, |
first name column's name to assign gender to |
The input data frame with the gender column:
gender - assigned gender (F/M/U)
1 | gender <- assign_gender(authors, "first_name")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.