Releases: timcadman/ds-helper
Releases · timcadman/ds-helper
0.4.10
Features
- Added new function dh.quartileSplit, to split continuous variable into quartiles.
Documentation
- Changed the argument options in dh.makeIQR to be consistent with other dsHelper functions.
Chores
- Moved some auxiliary functions from dh.makeStrata into utils so that they can be used by other dsHelper functions.
0.4.9
Bug fixes
- Fixed dh.tidyEnv where type = 'remove'. Had previously broken by removing half the code.
- Fixed bug in dh.dropCols where regex was breaking
- In dh.makeStrata, changed naming convention of output variables to ensure unique variable names.
Documentation
- Shortened package description.
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
Bug fixes
- Changed functionality in dh.tidyEnv: if objects are provided with name length >20 characters these are ignored and warning returned. Previously threw an error.
- Re-written dh.makeStrata to ensure that no temporary variables are created with a name length >20 characters.
- Fixed error in dh.defineCases. The wrong boolean operator was used which meant all cases were returned as valid.
0.4.3
Chores:
- Renamed the last step.
- Tweaked the process to removing missing values to ensure this was only based on the age and subset variable, not any initial variable specified to keep
Bugfixes
- Fixed a couple of bugs where arguments were hard coded instead of dynamic
0.4.2
Bugfixes
- Replaced dplyr function which won't work on the analysis server
0.4.1
- Rewritten all documentation to be clearer and consistent across functions.
- Renamed some argument to be consistent across functions. E.g. the name of a new object is always specified by "new_obj". Old argument names have been deprecated but can still be used until version 1.0.
- Refactored and improved efficiency of dh.makeOutcome. This has also now been renamed to "dh.makeStrata" to be more informative and general a name. dh.makeOutcome has been deprecated and will remain useable until version 1.0.
- dh.makeStrata now has the additional functionality to specify additional variables to keep within each age band.
- dh.subjHasData has been made defunct. A improved version of the function has been written called dh.defineCases.
- Two vignettes have been added demonstrating the use of all dsHelper functions.