powered by
Validate Finnish personal identification numbers (hetu)
valid_hetu(hetu)
Finnish personal identification number as a character vector, or vector of identification numbers as a character vectors.
Is the given string a valid Finnish personal identification number, TRUE or FALSE.
TRUE
FALSE
hetu For extracting information from Finnish personal identification numbers.
hetu
# NOT RUN { valid_hetu("010101-0101") # TRUE valid_hetu("010101-010A") # FALSE # }
Run the code above in your browser using DataLab