powered by
oin
Calculates the control number using the Luhn algorithm and compare it with the control number in the organization identity number (oin).
oin_ctrl(oin, force_logical = FALSE)
Logical vector indicating if a oin is correct (TRUE) or not (FALSE)
TRUE
FALSE
A vector of class oin. See as.oin.
If TRUE, force all NA in oin to be FALSE. Default is FALSE.
Organisationsnummer Skatteverket
ex_oin <- c("556000-4615", "232100-0156", "802002-4280", "232100-0157", "802002-4281") oin_ctrl(ex_oin)
Run the code above in your browser using DataLab