knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
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") gender(c("Helle Thorning Smidt", "Lars Løkke Rasmussen", "Traktor Troels"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.