pin_sex | R Documentation |
pin
Calculates the sex from the personal identification number.
pin_sex(pin)
pin |
A vector of class |
Factor with label 'Male' and 'Female'.
Skatteverket, Population registration in Sweden. SKV 717B. (2007)
Skatteverket, Personnummer. SKV 704. (2007) SOU 2008:60 : Personnummer och samordningsnummer, (2008)
# Examples taken from SKV 704 (see references)
ex_pin <- c("196408233234", "186408233224")
pin_sex(ex_pin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.