code.gender: Code gender by firstname in Denmark

View source: R/variables.R

code.genderR Documentation

Code gender by firstname in Denmark

Description

Guesses the gender for a list of names by comparing it to the Danish national distribution of first names in 2013.

Usage

code.gender(x)

Arguments

x

a character vector of full names

Value

a factor with a gender guess

Examples

data(den)
priest.names   <- has.tags(den, "Churches", result = "name")
table(code.gender(priest.names))

antongrau/eliter documentation built on March 2, 2024, 8:05 p.m.