Package 'figir'

Title: Check Validity of FIGI, CUSIP, ISIN, SEDOL
Description: With the functions in this package you can check the validity of the following financial instrument identifiers: FIGI (Financial Instrument Global Identifier <https://www.openfigi.com/about/figi>), CUSIP (Committee on Uniform Security Identification Procedures <https://www.cusip.com/identifiers.html#/CUSIP>), ISIN (International Securities Identification Number <https://www.cusip.com/identifiers.html#/ISIN>), SEDOL (Stock Exchange Daily Official List <https://www2.lseg.com/SEDOL-masterfile-service-tech-guide-v8.6>). You can also calculate the FIGI checksum of 11-character strings, which can be useful if you want to create your own FIGI identifiers.
Authors: Panagiotis Cheilaris [aut, cre]
Maintainer: Panagiotis Cheilaris <[email protected]>
License: MIT + file LICENSE
Version: 0.1.7.1
Built: 2024-11-01 11:29:26 UTC
Source: https://github.com/philaris/figir

Help Index


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)

Arguments

s

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

Value

A logical vector.

Examples

cusip_check("052800109")
cusip_check("87162M409")
cusip_check("500750104")
cusip_check(c("052800109", "87162M409"))
cusip_check(c("052800109", "87162M407"))

Check validity of FIGI

Description

Given a character vector, check the validity of FIGI (Financial Instrument Global Identifier) for each of its elements.

Usage

figi_check(s)

Arguments

s

a character vector for whose elements validity of FIGI (Financial Instrument Global Identifier) is checked.

Value

A logical vector.

Examples

figi_check("BBG000BLNQ16")
figi_check("NRG92C84SB39")
figi_check(c("BBG000BLNQ16", "NRG92C84SB39"))

Compute the FIGI check digit

Description

Given a character vector, compute for each string the FIGI (Financial Instrument Global Identifier) checksum digit.

Usage

figi_compute_checksum(v)

Arguments

v

a character vector for whose elements the FIGI (Financial Instrument Global Identifier) checksum digit is computed.

Value

A character vector of single character strings.

Examples

figi_compute_checksum("BBG000BLNQ1")
figi_compute_checksum("NRG92C84SB3")
figi_compute_checksum(c("BBG000BLNQ1", "NRG92C84SB3"))

Check validity of ISIN

Description

Given a character vector, check the validity of ISIN (International Securities Identification Number) for each of its elements.

Usage

isin_check(s)

Arguments

s

a character vector for whose elements validity of ISIN (International Securities Identification Number) is checked.

Value

A logical vector.

Examples

isin_check("BBG000BLNQ16")
isin_check("NRG92C84SB39")
isin_check(c("BBG000BLNQ16", "NRG92C84SB39"))

Check validity of SEDOL

Description

Given a character vector, check the validity of SEDOL (Stock Exchange Daily Official List) for each of its elements.

Usage

sedol_check(s)

Arguments

s

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

Value

A logical vector.

Examples

sedol_check('B014635')
sedol_check('0263494')
sedol_check(c('B014635', '0263494'))
sedol_check(c('B014635', '0263495'))