eatTools 0.7.9
- new exemplary dataset
data.timss1borrowed from the BIFIEsurvey package for illustration purposes of thecheckBackgroundVariables()function - new function
checkBackgroundVariables()checks the consistency of the variables in a data set if the variables belong to different groups, which in turn have different properties, for example ID variables, weighting variables, replication weights or covariates. -
existsBackgroundVariables()now allows to check the number of variables entered if, for example, several items but only one ID may be defined for a data record. It also checks which variable groups may overlap and which may not.
eatTools 0.7.8
CRAN release: 2024-12-18
- new function
cleanifyString()removes non-alphanumeric characters and special characters from a string or factor variable
eatTools 0.7.7
CRAN release: 2024-10-11
- minor bugfixes when integers are very large in
addLeadingZerosToCharInt()(Previously an error message was displayed.) - minor bugfixes in the messages of
mergeAttr() -
recodeLookup()return the original vector if the the user does not provide any recode table (i.e., if the argument is NULL). (Previously an error message was displayed.) - minor bugfixes in the display of
makeTria() - messages can be turned off in
makeDataFrame() - package sticker added
- bugfixes in
gsubAll(): Does not longer allow using regular expressions (internally,gsub(..., fixed = TRUE)is used). Function now begins with the longest string to avoid repeated modifications if strings in “old” match each other. See function documentation for further details.
eatTools 0.7.6
CRAN release: 2024-04-05
- add argument checks using the checkmate package
- bugfix in
halveString()for splitting at the last instance of a regular expression - new function
rbind_fill_vector()allowsrbind()for unidimensional vectors of unequal length, filling empty entries with NA - new operator
%$$%works for lists similar to$but gives error instead of NULL if the corresponding list element does not exist
eatTools 0.7.5
CRAN release: 2023-11-23
- internal fixes to tests (removed language dependency)
- new function
makeTria()for internal use ineatToolsandeatModelreshapes covariance/correlation matrices into triangular shape - added
seq2()for sequence generation - adapt
halveString()for patterns with more than 1 character - add messages to
mergeAttr()if combinations of merge variables from one data set do not occur in the other data set - add messages to
mergeAttr()if the twodata.framesintended to merge contain additional common variables (beyond theby-variables) -
makeDataFrame()gives warning/errors if data.frame has less rows than expected at the least. -
existsBackgroundVariables()gives warning/errors if variables have missing values, depending on how critical the missing values are considered to be
eatTools 0.7.4
CRAN release: 2022-11-10
- new function
rbind_common()rbinds a list of data.frames and selects only common columns - bug fix in
mergeAttr()when variables have more than one class -
mergeAttr()gives warning if merging variables have NAs - optional colnames argument in
halveString()function
eatTools 0.7.3
CRAN release: 2022-06-28
- new function
print_and_capture()mainly for internal use ineatRepandeatCodebookpackages allows for easy integration of (small) tables into (error) messages - added some unit tests
eatTools 0.7.2
CRAN release: 2022-05-05
- new function
makeDataFrame()for internal use ineatRepandeatModelpackages convertstibblesanddata.tablesto data.frame - new function
mergeAttr()mainly for internal use ineatRepandeatModelpackages restores attributes after merging and provides messages if merging units are not unique or only partially matches - new function
pwc()computes part-whole-correlation between an item and the whole scale (except this item)
eatTools 0.7.1
CRAN release: 2021-11-10
- new function
roundDF()rounds all numeric variables in adata.frame
eatTools 0.7.0
CRAN release: 2021-08-11
- new function
na_omit_selection()drops rows containing missing values in selected columns -
existsBackgroundVariables(): add optional warning if variables contains missing values
eatTools 0.6.0
CRAN release: 2021-07-06
- new function
readMultisep()reads in data.frames with separator characters >=1Byte - new function
addLeadingZerosToCharInt()adds leading zeros to all columns that can be identified as integers in a character data.frame - bug fix in
descr(). missing handling in variable when additional weights are used - bug fix in
tablePattern()when additional weights are used
eatTools 0.5.0
CRAN release: 2021-02-09
- new function
recodeLookup()allows recoding of a variable based on a look up table - functionality of
wideToLong()extended - Switch to Github Action for CI
eatTools 0.4.0
CRAN release: 2021-01-25
- new function
do_call_rbind_withName()allows row binding a list ofdata.frameswhile keeping their list names - bug fix in
wideToLong()
