eatGADS 1.2.0.9000
new features
-
checkIntOverflow()andcheckLabeledFractionals()check if aGADSdatcomplies with Stata’s requirements for data sets (#110) -
checkVarNames()can now also check the lengths of variable names against program-specific restrictions (#110) - A list of limits to dataset components under Stata and SPSS is available in
program_limitsand via its access functiongetProgramLimit().
bug fixes
-
autoRecode()no longer fails while applying a template that does not yet cover a value which occurs in the data more than once (#131) -
changeMissings()no longer throws an existing value error in edge cases with multiple existing value labels -
recodeGADS()now correctly performs potentially sequential recodes for unlabeled values (#134) - arguments in
checkVarNames()now turn on/off different checks correctly (#138)
documentation
- The behavior of
autoRecode()is further clarified, emphasizing the dropping of value labels and pointing tomultiChar2fac()(#136).
eatGADS 1.2.0
CRAN release: 2025-05-21
new features
-
dropDuplicateIDs()allows dropping duplicate IDs based on number of missings on selected variables (#67) -
changeValLabels()andchangeMissings()allow changing value labels and missing tags for multiple variables at once (#33) -
recodeGADS()allows recoding multiple variables at once (#107) -
merge.GADSdat()allows automatically assigning NAs created through merging a missing code and a value label (#1) -
equalData()andequalMeta()now split the functionality ofequalGADS() -
equalData()andequalGADS()now support multiple id variables (id)
changes
-
inspectMetaDifferences()now provides consistent output for variable label differences
bug fixes
-
extractData2()andextractData()no longer throw an error if multiple values of the same variable are labeledNA(#96) -
extractData2()andextractData()no longer produce an error if there are multiple duplicate value labels in a variable -
extractData2()andextractData()no longer produce a warning if multiple duplicate value labels occur which are tagged and transformed toNAanyway (#98) -
extractData2()andextractData()now provide consistent output for values which haveNAas value label (#100) -
inspectMetaDifferences()now correctly reports differences for meta data with differing row names (#102) - hot fix for
existingMetaargument inrecodeGADS()andapplyChangeMeta(), which was ignored when values were recoded into each other (#104) - fix unclear documentation in
removeValLabels()(#111) - fix
changeMissings()bug which dropped a single, existing value label and threw an error (#121) -
checkMissingValLabels()now correctly recognizes large integers (#124) - Checks for case insensitive duplicate variable names are now run by
checkVarNames()and not outside of it -
equalData()andequalGADS()now work withGADSdatobjects of length one (#127)
eatGADS 1.1.1
CRAN release: 2024-10-09
new features
-
inspectDifferences()andinspectMetaDifferences()now allow comparisons of variables within the sameGADSdatobject (#62) - new function
import_tibble()allows importingtibblesasGADSdatobjects (#88)
bug fixes
-
applyLookup()now works for multiple variables that containNAs(#68) -
applyChangeMeta()andrecodeGADS()now correctly perform recodings (and throw errors) if multiple meta data conflicts occur (#57) -
removeEmptyValLabels()for removing unused missing tags and value labels (#4) -
extractData()andextractData2()now correctly apply value labels, even when value and value label conflicts exist -
write_spss2()now also handles variables containing only NA values whenformatis also NA (#72) -
changeMissings()now correctly changes missing labels for values of variables with partially non-existentvalues and/orvalLabels (#73) -
autoRecode()now correctly overwrites the existing variable ifvar_suffix = ""(#84) - The output of
inspectMetaDifferences()is now correctly named even if differences in variable labels andSPSSformat occur (#81) -
extractData2()andextractData()now correctly transform variables with duplicate value labels (#77)
documentation
-
import_spssvignette updated to useextractData2()instead ofextractData()
internal
- refactored
extractData()to useextractData2()internally (#82)
eatGADS 1.1.0
CRAN release: 2023-08-25
new features
-
equalGADS()now allows pre-sorting the data by an identifier variable -
updateMeta(),applyChangeMeta(),changeVarNames(),cloneVariable(),createVariable(),composeVar(), anddummies2char()now have optional checks of new variables names via thecheckVarNamesargument -
reuseMeta()now can be use on multiple variables at once -
inspectMetaDifferences()now can be applied to data bases as well -
recodeNA2missing()for recodingNAsto a specific missing code -
recode2NA()now allows the recoding of multiplevaluesat once and returns a warning, if the recoded values have existing value labels in the recoded variables -
updateMeta()is now compatible withextractData()andextractData2() - S3 method of
extractData2()now available fortrend_GADSdatobjects -
recodeGADS()andapplyChangeMeta()allow recoding values without recoding value labels (viaexistingMeta = "ignore") -
insertVariable()has been renamedrelocateVariable()for clarity. Variables can now be inserted at the very beginning of aGADSdat -
cloneVariable()andautoRecode()now allow automatic appending of variable label suffixes via thelabel_suffixargument - new function
emptyTheseVariables()allows setting multiple variables toNA
bug fixes
-
import_spss()now removes duplicate meta data rows, which caused an error in, e.g.,recodeGADS() -
export_tibble()andwrite_spss()now throw an error if a conversion of four or more discrete missing tags into a missing range has undesired side effects - bug fix in
checkMissingsByValues(), now correctly reports missing tags outside of the specified value range - bug fix in
cloneVariable(), now new variables names which are alsoSQLitekeywords no longer throw a error (fixed conflicts caused bycheckVarName())
eatGADS 1.0.0
CRAN release: 2023-04-06
new features
-
multiChar2fac()now allows converting to upper or lower cases via theconvertCasesargument -
checkMissingsByValues()for checking missing tags for specific, labeled values (or a value range) -
import_spss()with more informative error message -
checkMissingValLabels()now allows checks for specific variable classes -
checkMissingValLabels()now offersdata.frameoutput format -
extractData2()for better usability and support of ordered factors -
fixEncoding()now supports imports ofwindows-1250imported files viaimport_spss()withUTF-8encoding -
import_spss()now transformsDATEATIMEandADATEvariables to character, assigning an appropriate format -
cloneVariable()for duplicating an existing variable under a new name -
createVariable()for creating a new, empty variable -
insertVariable()for changing the position of a variable in the data set -
autoRecode()for automatically recoding (numerical) variables
bug fixes
- bug fix in
multiChar2fac()for cases with existing value labels (with values labeled greater than zero) -
composeVar()now correctly prioritizes if both variables have missing values -
changeMissings()now does no longer add arbitrary value labels for newly tagged values - bug fix in
checkUniqueness2()for cases with differing numbers of cases per imputed data set - bug fix in
changeValLabels()for a mixture of already existing and new values - bug fixes in
import_spss()when settinglabeledStirngs = "transform" - bug fix in
import_spss()for variables with missing tags but no value labels (these missing tags were dropped before)
eatGADS 0.20.0
CRAN release: 2022-06-24
-
extractData()adds now all variable labels as alabelattribute to the resultingdata.frame - a numeric tolerance can now be specified within
equalGADS() - fixed warnings for
getTrendGADS() -
inspectMetaDifferences()for inspecting meta differences between twoGADSdatsand a single variable -
checkUniqueness2()for faster checking if a variable is unique within an identifier variable -
fixEncoding()for fixing encoding issues caused during the import viaimport_spss()usingASCIIor other encoding -
composeVar()for combining the information of two variables in a third variable -
subImputations()now works with differingvarNameandvarName_imp -
fillImputations()for efficiently filling missing values in imputed variables via not imputed variables -
checkFormat()now works correctly for variables without value labels -
checkFormat()now works correctly for variables with purelyNAs -
import_raw()now works correctly if variables are provided as integers -
reuseMeta()now works correctly if variables occur in multiple sheets in a data base orall_GADSdat
eatGADS 0.19.0
breaking changes
-
getTrendGADS()now supports multiple measurement points but support for linking errors has been dropped -
extractData()now supports multiple measurement points but support for linking errors has been dropped - trend example data bases implemented
-
getTrendGADSOld()andextractDataOld()provide backward compatibility -
checkLEStructure()deprecated -
import_spss()now can automatically transform labeled or missing tagged character values via the changedlabeledStringsargument
major changes
-
assimilateValLabels()for assimilating value labels of multiple variables -
cbind.GADSdat()method for binding multipleGADSdatobjects by column -
calculateScale()for calculating scales from item sets -
checkUniqueness()for checking uniqueness of a variable within anidvariable
minor changes
- clarifications and additional explanations in vignettes (
meta_data) - bug fix
updateMeta()(all added variables are now checked for illegal naming)
eatGADS 0.18.1
CRAN release: 2021-10-06
-
equalGADS()now ignores irrelevant format differences (F8.0vsF8) - fix
JSSlink in vignette
eatGADS 0.18.0
-
applyChangeMeta()andchangeValLabels()now automatically assign"valid"to themissingscolumns for labeled values - bug fix
equalGADS()(meta data differences solely due to different meta data sorting are now ignored) -
equalGADS()can now exclude certain meta data columns from the comparison -
checkFormat()for checking and modifyingSPSSformat type compatibility with actual data -
check4SPSS()for checkingSPSSmeta data conventions and requirements -
changeVarNames()andapplyChangeMeta()now enforceSQLite3naming conventions - bug fixes
write_spss2() - bug fix
applyChangeMeta(): now recognizes differences inNAsin old columns when checking the change table
eatGADS 0.17.0
CRAN release: 2021-07-19
-
inspectDifferences()now checks whether variable is of the same type in bothGADSdats -
subImputations()for substituting imputations with original, not imputed values -
applyChangeMeta()now returns a more informative error if the variable sets in theGADSdatand thechangeTablediffer -
applyChangeMeta()tries to convertvaluecolumns inchangeTableto numeric before throwing an error -
dummies2char()for recoding a set of dummy variables to a set of left filled character variables -
fac2dummies()andfac2dummies_complex()for recoding a labeled factor variable to multiple labeled dummy variables -
equalGADS()for comparing the complete structure and content of twoGADSdatobjects -
inspectDifferences()for comparing specific variables -
reuseMeta()now allows only transferring value labels for values coded as missing -
checkEmptyValLabels()andcheckMissingValLabels()provide cleaner output -
write_spss2()for writing.savfiles via a text file and aSPSSsyntax -
import_spss()andwrite_spss()now deal correctly with missing codes for character variables -
recodeGADS()allows recoding of unlabeled variables and values -
import_spss()now takes anencodingargument to work around faulty defaults
Internal
- better performance of
applyChangeMeta()on value level - bug fix
import_spss()(all columns are forced to bedoublewhen imported instead ofinteger) - bug fix
fac2dummies_complex()(value labels of dummy variables are tagged asvalid) - bug fixes
recodeGADS() - bug fix
removeValLabels()(when a single value label was removed) - bug fixes
collapseMultiMC_Text()(left_fill()anddrop_empty()) - bug fix
remove2NAchar()(with partially labeled variables) - bug fix
multiChar2fac()(with partially labeled variables) - bug fix
applyLookup_expandVar()(removed unnecessary messages) - warnings removed for
import_spss()(havenpatch for labeled character variables)
eatGADS 0.16.0
CRAN release: 2021-02-23
-
checkEmptyValLabels()andcheckMissingValLabels()for comparing values in the data and value labels -
compareGADS()for comparing multiple variables between twoGADSdats -
recodeGADS()allows recoding (multiple) values into existing values now, argumentexistingMetaadded -
recodeGADS()allows recoding ofNAnow -
recode2NA()allows recoding of numeric and character values toNA -
recodeString2NA()has been deprecated - bug fix
collapseColumns()(now supportsnew_valueas column name in look up table) -
checkValue()now returns occurrence count as vector instead of giving a message -
checkValue()now works on a subset of variables (via argumentvars) -
checkValue()now supports checking forNA -
removeValLabels()now can remove only specificvalue-valLabelpairs if required - changing value labels inside of
recodeGADS()vianewValueLabelsdeprecated (usechangeValLabels()instead) -
applyChangeMeta()now works withdata.frames(for compatibility withexcelimport and export) -
import_spss()now supports variables of typedatetime -
import_stata()andwrite_stata()for exporting and importingStatafiles
Internal
-
check_GADSdat()now checks for duplicate value rows - switch from
travisandappVeyortoGithub Action -
applyChangeMeta()checksformat_newcolumn now for illegal entries -
applyChangeMeta()throws error if result has corrupted meta data -
applyChangeMeta()orders meta data within a variable (by ascending value) - better performance of
applyChangeMeta()on value level - bug fix for
applyChangeMeta()if onlymissings_newis changed - Setup
revdepcheck
