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').

Author
Mans Magnusson and Erik Bulow
Date of publication
2016-09-14 19:44:25
Maintainer
Mans Magnusson <mons.magnusson@gmail.com>
License
BSD_2_clause + file LICENSE
Version
1.4.1
URLs

View on CRAN

Man pages

as.oin
Parse organizational identity numbers
as.pin
Parse personal identity numbers to ABS format
create_s3_method
Create S3 methods
fake_pins
Fake personal identity numbers and names
format_pin
Formatting pin
is.oin
Test if a character vector contains correct 'oin'
luhn_algo
The Luhn algorithm
oin_ctrl
Check the control numbers for 'oin'
oin_group
Calculate organization group from 'oin'
oin_group_element
oin_group_element
pin_age
Calculate age of 'pin' for a given date
pin_birthplace
Calculate the birthplace of 'pin'
pin_birthplace_internal
pin_birthplace_internal
pin_century
pin_century
pin_convert
pin_convert
pin_coordn
Check if 'pin' is a coordination number
pin_coordn_correct
pin_coordn_correct
pin_ctrl
Check control number from 'pin'
pin_sex
Calculate sex from 'pin'
pin_to_date
Calculate the date of birth from a 'pin'
roin
Generate a vector of random 'oin'
rpin
Generate a vector of random 'pin'
sweidnumbr
sweidnumbr

Files in this package

sweidnumbr
sweidnumbr/inst
sweidnumbr/inst/CITATION
sweidnumbr/inst/doc
sweidnumbr/inst/doc/sweidnumbr.html
sweidnumbr/inst/doc/sweidnumbr.R
sweidnumbr/inst/doc/sweidnumbr.Rmd
sweidnumbr/tests
sweidnumbr/tests/testthat.R
sweidnumbr/tests/testthat
sweidnumbr/tests/testthat/test-pin_century.R
sweidnumbr/tests/testthat/test-oin_group.R
sweidnumbr/tests/testthat/test-pin_to_date.R
sweidnumbr/tests/testthat/test-pin_birthplace.R
sweidnumbr/tests/testthat/test-create_S3_methods.R
sweidnumbr/tests/testthat/test-luhn_algo.R
sweidnumbr/tests/testthat/test_pin.Rdata
sweidnumbr/tests/testthat/test-pin_coordn.R
sweidnumbr/tests/testthat/test-oin_ctrl.R
sweidnumbr/tests/testthat/test-c.pin.R
sweidnumbr/tests/testthat/test-as.oin.R
sweidnumbr/tests/testthat/test-is.oin.R
sweidnumbr/tests/testthat/test-oin_s3_methods.R
sweidnumbr/tests/testthat/test-pin_age.R
sweidnumbr/tests/testthat/test-is.pin.R
sweidnumbr/tests/testthat/test-rin.R
sweidnumbr/tests/testthat/test-pin_coordn_correct.R
sweidnumbr/tests/testthat/test-pin_s3_methods.R
sweidnumbr/tests/testthat/test-pin_ctrl.R
sweidnumbr/tests/testthat/test-pin_birthplace_internal.R
sweidnumbr/tests/testthat/test-c.oin.R
sweidnumbr/tests/testthat/test-pin_convert.R
sweidnumbr/tests/testthat/test-format.pin.R
sweidnumbr/tests/testthat/test-pin_sex.R
sweidnumbr/tests/testthat/test-as.pin.R
sweidnumbr/tests/testthat/test-pin_test_file.R
sweidnumbr/NAMESPACE
sweidnumbr/data
sweidnumbr/data/fake_pins.rda
sweidnumbr/R
sweidnumbr/R/format.pin.R
sweidnumbr/R/oin_internal.R
sweidnumbr/R/pin_internal.R
sweidnumbr/R/luhn_algo.R
sweidnumbr/R/pin_methods.R
sweidnumbr/R/sweidnumbr.R
sweidnumbr/R/rin.R
sweidnumbr/R/data_documentation.R
sweidnumbr/R/oin_methods.R
sweidnumbr/R/create_s3_methods.R
sweidnumbr/R/oin.R
sweidnumbr/R/pin.R
sweidnumbr/R/firstlib.R
sweidnumbr/vignettes
sweidnumbr/vignettes/sweidnumbr.Rmd
sweidnumbr/MD5
sweidnumbr/build
sweidnumbr/build/vignette.rds
sweidnumbr/DESCRIPTION
sweidnumbr/man
sweidnumbr/man/create_s3_method.Rd
sweidnumbr/man/roin.Rd
sweidnumbr/man/pin_age.Rd
sweidnumbr/man/rpin.Rd
sweidnumbr/man/pin_to_date.Rd
sweidnumbr/man/oin_group.Rd
sweidnumbr/man/pin_birthplace_internal.Rd
sweidnumbr/man/pin_birthplace.Rd
sweidnumbr/man/pin_sex.Rd
sweidnumbr/man/luhn_algo.Rd
sweidnumbr/man/oin_ctrl.Rd
sweidnumbr/man/is.oin.Rd
sweidnumbr/man/as.pin.Rd
sweidnumbr/man/format_pin.Rd
sweidnumbr/man/oin_group_element.Rd
sweidnumbr/man/pin_convert.Rd
sweidnumbr/man/as.oin.Rd
sweidnumbr/man/sweidnumbr.Rd
sweidnumbr/man/pin_ctrl.Rd
sweidnumbr/man/pin_coordn_correct.Rd
sweidnumbr/man/pin_coordn.Rd
sweidnumbr/man/pin_century.Rd
sweidnumbr/man/fake_pins.Rd
sweidnumbr/LICENSE