tidyREDCap 2.0.0
Breaking changes
-
drop_label()now preserves variable class attributes (e.g.,"character","numeric") while removing only the"labelled"class andlabelattribute. Previous versions removed all attributes.
New features
-
drop_label()now can be used on data frames. When called without arguments on a data frame, it removes labels from all variables.
Fixes/Changes
-
drop_labels()is now deprecated in favor ofdrop_label(). Usedrop_label()without arguments to remove labels from all variables.
tidyREDCap 1.2.0
- Updated
drop_label()now accepts multiple variables and usestidyselecthelpers. - Updated “Drop Labels from a Table” vignette to reflect new changes.
tidyREDCap 1.1.3 (CRAN release)
CRAN release: 2026-01-12
- Update vignettes to suggest
keyring. - Package now depends on R >= 4.1.0 for use of pipe operator.
- Fixed vignette URLs that were causing site redirection issues with automated CRAN checks.
- Added alt text to vignette images.
tidyREDCap 1.1.2 (CRAN release)
CRAN release: 2024-09-16
- Fix issues reported by CRAN with Linux and old R Windows (4.3.3) saying
✖ These names are duplicated:
* "record_id" at locations 1 and 2.
- Update roxygen2 version (Thank you for Will Beasley)
- Fix .data$ was depreciated in
tidyselect(https://github.com/r-lib/tidyselect/issues/169) - Fixed missing global bindings caused by
tidyselectfix.
tidyREDCap 1.1.1 (CRAN release)
CRAN release: 2023-05-29
New features
- Add
make_yes_no()function to convert “checked” or “yes”-like answers to “Yes” and other answers to “No or Unknown”. - Add
make_yes_no_unknown()function to convert “checked” or “yes”-like answers to “Yes”, unchecked or “no”-like answers to “No” and other answers to “Unknown”.
Fixes/Changes
-
make_choose_all_table()now works with api or manual/point-and-click exports. ## Added S3 methods so dplyr (and friends) can work with labelled objects
tidyREDCap 1.1.0 (CRAN release)
CRAN release: 2023-02-18
New features
- Add
drop_labels()function for datasets. Used to deal with packages/functions that don’t want labeled variables (i.e.dplyr::pivot_longer()andskimr::skim() - Added options (
record_id =andfirst_record_id =for custom record_id fields inimport_instruments() - Added repeat instance numbers for repeated instruments in
import_instruments()
tidyREDCap 1.0.1.9000 (dev version)
Fixes/Changes
- Fix message display bug while
import_instruments()runs - Fix bug with
import_instruments()loading repeated instruments (the first instrument in a project was badly messed up) - Row names no longer reflect the row number of the exported data
- Remove labels from a few automatically created REDCap variables (“record_id”, “redcap_event_name”, “redcap_repeat_instrument”, “redcap_repeat_instance”)
tidyREDCap 1.0.1 (CRAN release)
CRAN release: 2022-10-05
New features
- Added support for REDCapR API
-
import_instruments()function imports all instruments with a single command - Added targeted status messaging during the import
-
Minor improvements and fixes
-
make_choose_one_table()no longer requires factors -
make_choose_all_table()now works with “1” vs “0” indicator variables - Greatly improved vignettes
tidyREDCap 1.0.0.9002 (dev version)
- Add {REDCapR} support
- Added
import_instruments()function to import all instruments; currently uses theREDCapRpackage as the API
tidyREDCap 1.0.0.9001 (dev version)
- Fix bug in
make_choose_all_table()with repeating instruments showing NA counts - Removes superseded
summarise_all()function
tidyREDCap 1.0.0.9000 (dev version)
- Removes superseded
mutate_ifandmutate_allfrommake_choose_all_table() - Added
import_instruments()function - Added
make_instrument_auto()function - Adds checks on arguments
tidyREDCap 0.2.2 (CRAN patch)
CRAN release: 2022-01-30
- Fix
rlangbug inmake_choose_all_table(); see https://github.com/RaymondBalise/tidyREDCap/pull/13
tidyREDCap 0.1.3.0
- Added
make_choose_all_table()function
tidyREDCap 0.1.2
- Added
make_instrument()function
tidyREDCap 0.1.1
- Added
make_choose_one_table()function
