RDocumentation
Moon
Learn R
Search all packages and functions
sweidnumbr (version 1.5.0)
Handling of Swedish Identity Numbers
Description
Structural handling of identity numbers used in the Swedish administration such as personal identity numbers ('personnummer') and organizational identity numbers ('organisationsnummer').
Copy Link
Copy
Link to current version
Version
Version
1.5.0
1.4.2
1.4.1
1.2.0
1.1.0
1.0.0
0.8.2
0.6.5
0.6.1
0.6.0
0.2
0.1.1
Down Chevron
Install
install.packages('sweidnumbr')
Monthly Downloads
225
Version
1.5.0
License
BSD_2_clause + file LICENSE
Issues
4
Pull Requests
0
Stars
8
Forks
3
Repository
https://github.com/rOpenGov/sweidnumbr
Homepage
http://ropengov.github.io/sweidnumbr/
Maintainer
Mans Magnusson
Last Published
January 13th, 2024
Functions in sweidnumbr (1.5.0)
Search functions
pin_to_date-deprecated
Calculate the date of birth from a
pin
rpin
Generate a vector of random
pin
pin_to_date
Deprecated functions in package
sweidnumbr
.
format_pin
Formatting pin
pin_birthplace_internal
pin_birthplace_internal
roin
Generate a vector of random
oin
pin_century
pin_century
pin_coordn
Check if
pin
is a coordination number
pin_convert
pin_convert
is.oin
Test if a character vector contains correct
oin
sweidnumbr
sweidnumbr
fake_pins
Fake personal identity numbers and names
oin_group
Calculate organization group from
oin
oin_ctrl
Check the control numbers for
oin
oin_group_element
oin_group_element
create_s3_method
Create S3 methods
as.oin
Parse organizational identity numbers
luhn_algo
The Luhn algorithm
as.pin
Parse personal identity numbers to ABS format
pin_birthplace
Calculate the birthplace of
pin
pin_ctrl
Check control number from
pin
pin_age
Calculate age of
pin
for a given date
pin_date
Calculate the date of birth from a
pin
pin_coordn_correct
pin_coordn_correct
pin_sex
Calculate sex from
pin