get_gender.nomes now includes probabilities for
2010 and 2022 (prob_fem10, prob_fem22) and is
used when internal = TRUE. This data covers 141,742 unique
Brazilian first names.%>% with the base
|> operator, thus removing the magrittr
dependency (requires R 4.1.0 or higher).data.table for
faster joins and removed dplyr/tibble
dependencies.In this version, a few improvements and bug fixed were introduced. Most important, connection errors now return informative messages to users.
map_gender and get_gender now return
informative error messages when reach timeoutget_gender function better handles non-ASCII
charactersIn this minor release, the genderBR package was improved in two ways. First, bugs and some minor issues were fixed, making the package’s functions more stable. Second, the package now contains an internal dataset with all the names reported by the IBGE’s Census that is used by the get_gender function to predict gender from Brazilian first names. Therefore, classifying a vector with more than 1,000 names takes no more than a few seconds now. Overall, these are the improvements:
NEWS.md file to track changes to the
package.get_gender function.round_guess funcion.get_gender function to work with internal
data.