Extract ISRC registration year
isrc_registration_year.RdExtracts the two-digit year component of an ISRC and converts it to a four-digit registration year according to ISO 3901 conventions.
Value
An integer vector of ISRC registration years, or NA
for invalid, malformed, or implausible values.
Details
The ISRC year represents the year the identifier was assigned, not the year the recording was made. For robustness in large-scale data processing, this function applies conservative interpretation rules:
values
00–26are mapped to2000–2026,values
86–99are mapped to1986–1999,all other values return
NA.
Input is minimally normalized by removing hyphens and uppercasing.
Values that are not exactly 12 characters long after normalization
return NA.
See also
Other ISRC utilities:
isrc_registrant(),
isrc_resolve_registrar()