danishcpr {clintools}R Documentation

Danish CPR number to birthday and sex (danishcpr)

Description

danishcpr() converts a list of CPR-numbers to a corresponding list birthday and sex.

Usage

danishcpr(code)

Arguments

code

list of CPR numbers (list)

Value

Returns a list with $birthday which is a list of dates, and $sex which is a list of Male/Female.

Examples

## Not run: 
   cpr <- danishcpr(code)
   birthdays <- cpr$birthday
   sex <- cpr$sex

## End(Not run)


[Package clintools version 0.9.10.1 Index]