fullCusip | R Documentation |
This function returns full CUSIP code by adding calculated checksum digit to 8-character CUSIP identifier. If supplied CUSIP identifier is not 8 characters, function returns "0"
fullCusip(s)
s |
eight-character string with CUSIP identifier |
String value with full 9-character CUSIP identifier, or "0" if supplied input is not 8-character CUSIP string
library(SEC13Flist)
fullCusip("B38564109") #returns zero - supplied code is not 8-character CUSIP identifier
fullCusip("B3856410") #valid CUSIP returned example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.