as.oin: Parse organizational identity numbers

Description Usage Arguments Details Value References Examples

View source: R/oin.R

Description

Check and convert a vector of organizational identity numbers.

Usage

1
as.oin(oin)

Arguments

oin

Vector with swedish organizational identity numbers in character format. See details.

Details

The following format is accepted:

Value

Character vector (of class oin and AsIs) with swedish organizational identity numbers.

References

Lag (1974:174) om identitetsbeteckning for juridiska personer m.fl.

Examples

1
2
ex_oin <- c("556000-4615", "232100-0156", "802002-4280", "8020024280", "AA2002-4280")
as.oin(ex_oin)

sweidnumbr documentation built on March 31, 2020, 5:24 p.m.