pin_date {hetu} | R Documentation |
Extract Date of Birth from Personal Identity Code
Description
Returns the date of birth in date format.
Usage
pin_date(pin, allow.temp = FALSE)
hetu_date(pin, allow.temp = FALSE)
Arguments
pin |
Finnish personal identity code(s) as a character vector |
allow.temp |
Allow artificial or temporary PINs (personal numbers
900-999). If |
Value
Date of birth as a vector in date format.
Examples
pin_date(c("010101-0101", "111111-111C"))
hetu_date(c("010101-0101", "111111-111C"))
[Package hetu version 1.0.7 Index]