Learn R Programming

CNID (version 2.1.1)

convert18: Convert the 15 Digits ID Number to 18 Digits

Description

Convert the 15 Digits ID Number to 18 Digits.

Usage

convert18(id)

Value

The corresponding 18 digits ID number.

Arguments

id

A vector of ID numbers.

Examples

Run this code
id = c(
  "653127198503161793",
  "652801197305161555",
  "130206202202291545", 
  "110101841125178",
  "12345678",
  "65312a198204181793"
)
convert18(id)

Run the code above in your browser using DataLab