Package: sweidnumbr 1.5.0

sweidnumbr: Handling of Swedish Identity Numbers
Structural handling of identity numbers used in the Swedish administration such as personal identity numbers ('personnummer') and organizational identity numbers ('organisationsnummer').
Authors:
sweidnumbr_1.5.0.tar.gz
sweidnumbr_1.5.0.zip(r-4.7)sweidnumbr_1.5.0.zip(r-4.6)sweidnumbr_1.5.0.zip(r-4.5)
sweidnumbr_1.5.0.tgz(r-4.6-any)sweidnumbr_1.5.0.tgz(r-4.5-any)
sweidnumbr_1.5.0.tar.gz(r-4.7-any)sweidnumbr_1.5.0.tar.gz(r-4.6-any)
sweidnumbr_1.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
sweidnumbr/json (API)
| # Install 'sweidnumbr' in R: |
| install.packages('sweidnumbr', repos = c('https://ropengov.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropengov/sweidnumbr/issues
Pkgdown/docs site:https://ropengov.github.io
- fake_pins - Fake personal identity numbers and names
Last updated from:234675381b. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 137 | ||
| source / vignettes | OK | 201 | ||
| linux-release-x86_64 | OK | 137 | ||
| macos-release-arm64 | OK | 118 | ||
| macos-oldrel-arm64 | OK | 90 | ||
| windows-devel | OK | 88 | ||
| windows-release | OK | 107 | ||
| windows-oldrel | OK | 106 | ||
| wasm-release | OK | 100 |
Exports:as.oinas.pinformat_pinis.oinis.pinluhn_algooin_ctrloin_grouppin_agepin_birthplacepin_coordnpin_ctrlpin_datepin_sexpin_to_dateroinrpin
Dependencies:backportscheckmateclicpp11genericsgluelifecyclelubridatemagrittrrlangstringistringrtimechangevctrs
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Parse organizational identity numbers | as.oin |
| Parse personal identity numbers to ABS format | as.pin is.pin |
| Fake personal identity numbers and names | fake_pins |
| Formatting pin | format_pin |
| Test if a character vector contains correct 'oin' | is.oin |
| The Luhn algorithm | luhn_algo |
| Check the control numbers for 'oin' | oin_ctrl |
| Calculate organization group from 'oin' | oin_group |
| Calculate age of 'pin' for a given date | pin_age |
| Calculate the birthplace of 'pin' | pin_birthplace |
| Check if 'pin' is a coordination number | pin_coordn |
| Check control number from 'pin' | pin_ctrl |
| Calculate the date of birth from a 'pin' | pin_date |
| Calculate sex from 'pin' | pin_sex |
| Generate a vector of random 'oin' | roin |
| Generate a vector of random 'pin' | rpin |
| sweidnumbr | sweidnumbr |
