Build Status AppVeyor build status codecov Watch on GitHub Star on GitHub Follow



hetu is an R package for structural handling of identity numbers used in the Finnish administration, in particular the personal identity numbers (henkilötunnus). Some functions can also be used with Finnish Business ID numbers (y-tunnus).

The syntax in this package is unified with the similar package for Swedish ID numbers, the sweidnumbr.


To install from CRAN just write:


Use the devtools package to install the latest version from GitHub:


A tutorial is included with the package and can be viewed with:


Reporting bugs

Please use the GitHub issue tracker here for reporting bugs and making further feature requests.

IMPORTANT: When submitting a bug, you can make the lives of the developers easier by submitting the following information along with your bug report: - The output of sessionInfo() - The output of packageVersion("hetu")