powered by
danishcpr() converts a list of CPR-numbers to a corresponding list birthday and sex.
danishcpr()
danishcpr(code)
Returns a list with $birthday which is a list of dates, and $sex which is a list of Male/Female.
list of CPR numbers (list)
list
if (FALSE) { cpr <- danishcpr(code) birthdays <- cpr$birthday sex <- cpr$sex }
Run the code above in your browser using DataLab