guessGender.Rd (758B)
1 % Generated by roxygen2 (4.1.1): do not edit by hand 2 % Please edit documentation in R/guessGender.R 3 \name{guessGender} 4 \alias{guessGender} 5 \title{Guess names' genders} 6 \usage{ 7 guessGender(nameVector, countryCode = NA, languageCode = NA, apiKey = NA) 8 } 9 \arguments{ 10 \item{nameVector}{A vector containing one or more names to look up.} 11 12 \item{countryCode}{An optional ISO 3166-1 alpha-2 country code.} 13 14 \item{languageCode}{An optional ISO 639-1 language code. Only one of 15 countryCode or languageCode can be specified.} 16 17 \item{apiKey}{An optional API key for genderize.io.} 18 } 19 \description{ 20 This function uses the genderize.io API to supply estimates of the gender one 21 or more names. 22 } 23 \examples{ 24 guessGender(c("Natalie", "Liam", "Eamon"), countryCode = "US") 25 } 26