pin_date: Calculate the date of birth from a 'pin'

View source: R/pin.R

pin_dateR Documentation

Calculate the date of birth from a pin

Description

Calculates the date of birth in date format.

Usage

pin_date(pin)

Arguments

pin

A vector of class pin. See as.pin.

Value

Date of birth as a vector in date format.

Examples

# Examples taken from SKV 704 (see references)
ex_pin <- c("196408233234", "186408833224")
pin_date(ex_pin)


rOpenGov/sweidnumbr documentation built on Jan. 19, 2024, noon