Description Usage Arguments Value Examples
Determine the gender of a first name
1 2 | get_gender(name = "Sebastian", apikey = NULL, country_id = NULL,
simple_response = FALSE)
|
name |
The first name you want the gender for (can also take a vector of names - max 10) |
country_id |
The ISO 3166-1 alpha-2 code for the country (see gendeR::df_iso for ISO 3166-1 alpha-2 codes) |
simple_response |
If TRUE, you only get the gender. If FALSE, you also get the probability of correct gender and a count of names in Genderize.io's database |
A dataframe if simple_response = FALSE, a character if simple_response = TRUE
1 | get_gender(name = "Sebastian", country_id = "DK", simple_response = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.