age_by_year: Get age information from ID number

View source: R/age_by_year.R

age_by_yearR Documentation

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)

Arguments

id

A vector of ID numbers.

Value

Age vector obtained from ID numbers.

Examples

id = c(
  "653127198503161793",
  "652801197305161555",
  "130206202202291545", 
  "110101841125178",
  "12345678",
  "65312a198204181793"
)
age_by_year(id)


CNID documentation built on April 4, 2025, 5:22 a.m.