Description Usage Arguments See Also Examples
Converts Swedish personal numbers (in the format "YYYYMMDD-XXXX", or "YYMMDD-XXXX") to birth dates. If the personal number is in the format "YYMMDD-XXXX", the function assumes that all YY values above 25 indicate someone born in the 1900's.
1 | pnr_to_bdate(pnr)
|
pnr |
a string/character value with a single personal number |
1 2 3 4 | x <- "19400830-1111"
pnr_bdate(x)
y <- "090830-1111"
pnr_bdate(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.