Skip to content

Releases: timcadman/ds-helper

0.4.10

17 Nov 08:50
Compare
Choose a tag to compare

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

17 Nov 08:46
Compare
Choose a tag to compare

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

17 Nov 08:40
Compare
Choose a tag to compare

Performance

  • Greatly simplified code in dh.findVarsIndex

0.4.7

17 Nov 08:35
Compare
Choose a tag to compare

Bug fixes

  • With dh.classDiscrepancy, allow non-existing variables to be specified in vars. This will return a class of 'NULL'

0.4.6

17 Nov 08:31
Compare
Choose a tag to compare

Chores

  • Added additional repository

0.4.5

17 Nov 08:27
Compare
Choose a tag to compare

Chores

  • Removed stray files in directory

0.4.4

10 Jan 12:52
Compare
Choose a tag to compare

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

10 Jan 12:34
Compare
Choose a tag to compare

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

10 Jan 12:32
Compare
Choose a tag to compare

Bugfixes

  • Replaced dplyr function which won't work on the analysis server

0.4.1

07 Dec 13:18
Compare
Choose a tag to compare
  • 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.