isSedol | R Documentation |
This function check validity of SEDOL code by comparing calculated checksum digit based on first 6 characters of SEDOL code with 7th character of SEDOL code - checksum digit
isSedol(s)
s |
seven-character string with SEDOL code to validate |
Logical value indicating validity of SEDOL number: TRUE
if SEDOL number is valid, FALSE
if SEDOL number is invalid
library(SEC13Flist)
isSedol("2046252") #invalid SEDOL example
isSedol("2046251") #valid SEDOL example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.