Description Usage Arguments Value Examples
View source: R/stringmanipulation.R
A function for calculating the birthday from a CPR number, taking the century into account
1  | birthdayFromCPR(cpr)
 | 
cpr | 
 CPR number. Any format will work.  | 
a Date of the birthday
1 2 3 4 5  | birthdayFromCPR("290511-4487")
returns "2011-05-29"
birthdayFromCPR("290511-3487")
returns "1911-05-29"
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.