GenderGuesser

An R package for using the genderize.io API to guess the gender of names.
git clone https://git.eamoncaddigan.net/GenderGuesser.git
Log | Files | Refs | README | LICENSE

commit b79483bd79a4f67ff027db061dd797b4c371b148
parent 841b29a24468213b6ddfaa37372a92ed60c58f17
Author: eamoncaddigan <eamon.caddigan@gmail.com>
Date:   Sun,  9 Aug 2015 08:23:55 -0400

Better comments I guess.

Diffstat:
MR/guessGender.R | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/R/guessGender.R b/R/guessGender.R @@ -1,5 +1,6 @@ -# Contains the function lookupGenderForNames(), which returns a data.frame of -# gender info from genderize.io given a character vector of first names. +# Code for using the genderize.io API to guess names' genders. + +# Helper functions -------------------------------------------------------- #' Check country and language code. #' @@ -26,6 +27,9 @@ getListElement <- function(listName, elementName) { return(listElement) } + +# API functions ----------------------------------------------------------- + #' Look up a vector of names. #' #' This function actually implements the genderize.io API. Can only query 10