new as_logical function to ease binary data interpretation - version bump. Hi March!

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-03-04 13:00:49 +01:00
commit bb24a7d7bd
No known key found for this signature in database
5 changed files with 162 additions and 2 deletions

View file

@ -1,7 +1,9 @@
# REDCapCAST 25.2.1
# REDCapCAST 25.3.1
* FIX: `as_factor()` now interprets empty variables with empty levels attribute as logicals to avoid returning factors with empty levels.
* NEW: `as_logical()`: interprets vectors with two levels as logical if values matches supplied list of logical pairs like "TRUE"/"FALSE", "Yes"/"No" or 1/2. Eases interpretation of data from databases with minimal metadata.
# REDCapCAST 25.1.1
The newly introduced extension of `forcats::fct_drop()` has been corrected to work as intended as a method.