==========
- subsetting-parameter (TRUE or FALSE) dropped from
hetu_diagnostic()
function as it was unnecessary syntactic sugar that was difficult to communicate to users. Similar functionalities can be easily achieved with standard subsetting functionalities found in base R and especially in tidyverse. satu_ctrl_char()
parameter for printing whole SATU/FINUID-numbers is now called "print.full" instead of "complement".
- Rewritten
rpin()
function for increased speed - Added new function
hetu_control_char()
both for internal use in other functions as well as convenience (sometimes you know the rest of the identity code and just need to determine the control character) - Added support for checking the validity of Finnish electronic Unique Identification Numbers (SATU / FINUID). Two new functions:
satu_ctrl()
andsatu_ctrl_char()
, the former works likehetu_ctrl()
and the latter works like abovementionedhetu_control_char()
hetu()
table column name checksum changed to more descriptive ctrl.char. The change also affects related column names inhetu_diagnostic()
. This is to illustrate the point that Finnish personal identity code has control characters (numbers and letters) instead of check digits.
- Implementing recommendations from goodpractice (whole package) and lintr (hetu.R) for better code legibility
- Renamed internal objects to make it easier to distinguish between user input (function arguments), internal objects used in intermediate steps and output names for the data table
- New function
hetu_control_char()
for easy calculation of control characters when birth date and personal numbers are already known
- Moving away from Travis CI to GitHub Actions
- Build submitted to CRAN
- More organized vignette, hetu and BID examples separated
- Minor fixes to
hetu_diagnostic()
andrbid()
- Added function for generating Finnish Business IDs,
rbid()
- Added new alias to
hetu_diagnostic()
,pin_diagnostic()
, for better consistency with other functions - New examples in package vignette
- Optimized functions: generating and handling a large amount of PINs is now much faster (tested with 5.5 million PINs)
- new
bid_ctrl()
function for checking the validity of Finnish Business IDs hetu()
table column name personal.number changed to shorter p.num
- Option to print explicit diagnostics in hetu-function
hetu_diagnostic()
function for easier viewing of diagnostic information
- Updates to pkgdown
- Improvements to vignette
- Warning messages and new tests for invalid inputs
- Fixes in hetu.R in handling temporary / artificial pins
- Tests for deprecated pin_to_date function
- Added codecov integration
- Minor fixes
- Added
rpin()
function for generating random hetu PINs - Added ability to handle temporary or artificial hetu PINs (allow.temp, is.temp)
- Added tests to achieve 100 % test coverage
- Deprecation of pin_to_date, addition of
pin_date()
- Numerous minor bugfixes and additions to help files and vignettes
- Package created based on earlier functions migrated from sorvi