rOpenGov / sweidnumbr

R package for Structural handling of identity numbers used in the swedish administration such as personal identity numbers (personnummer) and organizational identity numbers (organisationsnummer).
https://ropengov.github.io/sweidnumbr/
Other
8 stars 3 forks source link

as.oin() fails to reject numbers with "." #99

Closed janzzon closed 8 years ago

janzzon commented 8 years ago

as.oin() treats numbers with "." as valid oin, should give NA as result

as.oin("5560.0-46.5")
#> [1] "5560.0-46.5"
#> Organizational identity number(s)

Will create a PR soon