Extract sex (as binary) from Finnish personal identification
code.
Usage
pin_sex(pin, allow.temp = TRUE)
hetu_sex(pin, allow.temp = TRUE)
Value
Factor with label 'Male' and 'Female'.
Arguments
pin
Finnish personal identity code(s) as a character vector
allow.temp
Allow artificial or temporary PINs (personal numbers
900-999). If FALSE (default), only PINs intended for official
use (personal numbers 002-899) are allowed.