Skip to content
Gender classifier for danish names
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst/extdata
man
.Rbuildignore
.gitignore
DESCRIPTION
NAMESPACE
README.Rmd
README.md
namesDK.Rproj

README.md

namesDK

Gender classifier for danish names

Description

The function uses the official danish lists of male, female and unisex first names to classify names as either male, female or unisex. If a name can not be determined as either one of those three it will return as NA.

Examples

library(namesDK)
gender("Lars Løkke Rasmussen")
#> [[1]]
#> [1] "male"
gender(c("Helle Thorning Smidt", "Lars Løkke Rasmussen", "Traktor Troels"))
#> [[1]]
#> [1] "female"
#> 
#> [[2]]
#> [1] "male"
#> 
#> [[3]]
#> [1] NA
You can’t perform that action at this time.