hetu: Extract information from a Finnish personal identification...

Description Usage Arguments Value Author(s) See Also Examples

Description

Extract information from a Finnish personal identification number

Usage

1

Arguments

hetu

Finnish personal identification number as a string

Value

Finnish personal identification number object. Returns NA if the given string is not a valid Finnish personal identification number.

hetu

Finnish personal identification number as a string.

gender

Gender of the person. Male or Female.

personal.number

Personal number part of the identification number.

checksum

Checksum for the personal identification number.

date

Birthdate.

day

Day of the birthdate.

month

Month of the birthdate.

year

Year of the birthdate.

century.char

Century of the birthdate: + (1800), - (1900) or A (2000).

Author(s)

Jussi Paananen louhos@googlegroups.com

See Also

valid_hetu For validating Finnish personal identification number.

Examples

1
2
3
hetu("111111-111C")
hetu("111111-111C")$date
hetu("111111-111C")$gender

rOpenGov/template documentation built on May 26, 2019, 8:50 p.m.