check_id: Check whether the ID number is valid

View source: R/check_id.R

check_idR Documentation

Check whether the ID number is valid

Description

Check whether the ID number is valid.

Usage

check_id(id)

Arguments

id

A vector of ID numbers.

Value

A vector of TRUE or FALSE.

Examples

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


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