isIsin: Check validity of ISIN identifier

View source: R/RcppExports.R

isIsinR Documentation

Check validity of ISIN identifier

Description

This function check validity of ISIN code by comparing calculated checksum digit based on first 11 characters of CUSIP code with 12th character of CUSIP code - checksum digit

Usage

isIsin(isin)

Arguments

isin

twelve-character string with ISIN code to validate

Value

Logical value indicating validity of ISIN number: TRUE if ISIN number is valid, FALSE if ISIN number is invalid

Examples

library(SEC13Flist)
isIsin("US0378331009") #invalid ISIN example
isIsin("US0378331005") #valid ISIN example

yanlesin/SEC13Flist documentation built on Jan. 21, 2025, 5:23 p.m.