Description Usage Arguments Value Examples
The first 6 digits of a CPR number contain the date-of-birth in a DDMMYY format. This format is not unique since only two digits are available for the year, and the exact century can be derived from the last 4 digits.
1 | date_of_birth(cpr)
|
cpr |
A vector of CPR numbers strings |
A Date object with the date-of-births in YYYY-MM-DD format or NA if not a proper date
1 | date_of_birth("2310450637") # This is testing out a randomly generated number
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.