Skip to contents

Extracts the three-character ISRC registrant code (positions 3–5) from a character vector of ISRCs. Hyphens are removed and input is uppercased prior to extraction.

Usage

isrc_registrant(isrc)

Arguments

isrc

Character vector of ISRC codes.

Value

A character vector of ISRC registrant codes, or NA for invalid or malformed inputs.

Details

The function performs minimal validation: values that are not exactly 12 characters long after normalization return NA. It does not verify whether the registrant code is assigned or valid.

See also