clean_issn: Clean ISSNs

View source: R/clean_data.R

clean_issnR Documentation

Clean ISSNs

Description

This function removes whitespace and punctuation from ISSNs and returns them in correct ISSN format. An ISSN is formatted as NNNN-NNNX, where N is a number, and X can be any number or character. If ISSNs are formatted differently, this can give errors when using a public API, so they can be reformatted with this function. A string with a different length will return NA.

Usage

clean_issn(column)

Arguments

column

ISSN(s)

Value

cleaned ISSN(s), vectorized


bvreede/OAmonitor documentation built on Sept. 9, 2023, 8:33 p.m.