Learn R Programming

CNID (version 1.3.1)

age_by_year: Get age information from ID number

Description

Get age information from ID number, only by year, not the specific date.

Usage

age_by_year(id)

Value

Age vector obtained from ID numbers.

Arguments

id

A vector of ID numbers.

Examples

Run this code
id = c(
"652801197305161555",
"130206202202291545", 
"110101841125178"
)
age_by_year(id)

Run the code above in your browser using DataLab