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.5)sweidnumbr_1.5.0.zip(r-4.4)sweidnumbr_1.5.0.zip(r-4.3)
sweidnumbr_1.5.0.tgz(r-4.5-any)sweidnumbr_1.5.0.tgz(r-4.4-any)sweidnumbr_1.5.0.tgz(r-4.3-any)
sweidnumbr_1.5.0.tar.gz(r-4.5-noble)sweidnumbr_1.5.0.tar.gz(r-4.4-noble)
sweidnumbr_1.5.0.tgz(r-4.4-emscripten)sweidnumbr_1.5.0.tgz(r-4.3-emscripten)
sweidnumbr.pdf |sweidnumbr.html✨
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 site:https://ropengov.github.io
- fake_pins - Fake personal identity numbers and names
Last updated 1 years agofrom:234675381b. Checks:8 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 30 2025 |
R-4.5-win | OK | Jan 30 2025 |
R-4.5-mac | OK | Jan 30 2025 |
R-4.5-linux | OK | Jan 30 2025 |
R-4.4-win | OK | Jan 30 2025 |
R-4.4-mac | OK | Jan 30 2025 |
R-4.3-win | OK | Jan 30 2025 |
R-4.3-mac | OK | Jan 30 2025 |
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 |