is.oin: Test if a character vector contains correct 'oin'

View source: R/oin.R

is.oinR Documentation

Test if a character vector contains correct oin

Description

Test which elements in a text vector that contains organization identity number.

Usage

is.oin(oin)

Arguments

oin

Character vector to be tested if it is an oin of the right format.

Value

Logical vector indicating if the elements can be an organization identity number.

Examples

ex_oin <- roin(3)
is.oin(ex_oin)

ex_oin_char <- as.character(ex_oin)
is.oin(ex_oin_char)


rOpenGov/sweidnumbr documentation built on Jan. 19, 2024, noon