genderNames (version 0.1.0)

genderName: Gender of Name API

Description

Gender of Name API

Usage

genderName(first_names)

Arguments

first_names
The name that you want to know the gender of. Please only use the first name without any spaces.

Value

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.

Examples

Run this code
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)

Run the code above in your browser using DataLab