Kindly cite the sweidnumbr R package as follows:

Magnusson M, Bulow E (2020). “sweidnumbr: R tools to handle of swedish identity numbers.” R package version 1.4.2, http://github.com/rOpenGov/sweidnumbr.

Corresponding BibTeX entry:

  @Misc{,
    title = {sweidnumbr: R tools to handle of swedish identity
      numbers.},
    author = {Mans Magnusson and Erik Bulow},
    url = {http://github.com/rOpenGov/sweidnumbr},
    year = {2020},
    note = {R package version 1.4.2},
  }