Description Usage Arguments Value Examples
Gender of Name API
1 | genderName(first_names)
|
first_names |
The name that you want to know the gender of. Please only use the first name without any spaces. |
A dataframe with one row for every name and 3 columns. The columns tell the inputted name, the gender, and the probability that the gender is accurate.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | genderName("Tom")
genderName("Mary")
genderName("Sasha")
# example of no gender found for the name
genderName("")
genderName(c("Tom", "Mary", "Sasha"))
# It can take a list an input, even a list with bad values (such as "")
example <- c("Tom", "Mary", "", "Sasha")
genderName(example)
example <- data.frame(name = c("Tom", "Mary", "Sasha"))
genderName(example$name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.