Learn R Programming

figir (version 0.1.7.0)

cusip_check: Check validity of CUSIP

Description

Given a character vector, check the validity of CUSIP (Committee on Uniform Security Identification Procedures) for each of its elements.

Usage

cusip_check(s)

Value

A logical vector.

Arguments

s

a character vector for whose elements validity of CUSIP is checked.

Examples

Run this code
cusip_check("052800109")
cusip_check("87162M409")
cusip_check("500750104")
cusip_check(c("052800109", "87162M409"))
cusip_check(c("052800109", "87162M407"))

Run the code above in your browser using DataLab