Skip to contents

Just checking if last number of a string is equal or not.

Usage

cpr_female(cpr)

Arguments

cpr

cpr-numbers as ddmmyy"-."xxxx or ddmmyyxxxx. Also mixed formatting. Vector or data frame column.

Value

Logical vector

Examples

cpr_female("231045-0637")
#> [1] TRUE