Learn R Programming

gender (version 0.4.3)

gender_ssa: Find the gender of first names using Social Security data

Description

This internal function implements the method = "ssa" option of gender. See that function for documentation.

Usage

gender_ssa(name, years, certainty, correct_skew = TRUE)

Arguments

name
A character string of a first name. Case insensitive.
years
This argument can be either a single year or a range of years in the form c(1880, 1900). If no value is specified, then the names will be looked up for the period 1932 to 2012. If a year or range of years is specified, then the names will be
certainty
A boolean value, which determines whether or not to return the proportion of male and female uses of names in addition to determining the gender of names.
correct_skew
A boolean value which determines whether or not to correct the skewed gender ratios of the SSA data. Default is to do the correction, which is recommended.