View source: R/is_valid_isin.R
is_valid_isin | R Documentation |
This function validates that a vector of ISINs are valid codes that conform
to the ISO 6166 specification with TRUE
or FALSE
. It checks the basic
structure (2 alpha characters, 9 alpha-numeric characters, 1 check digit)
and also validates the check digit using the Luhn algorithm.
is_valid_isin(isins)
isins |
A character vector |
A logical vector the same length as isins
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.