Changelog
Source:NEWS.md
eatGADS 1.1.1.9000
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)
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 toNA
anyway (#98) -
extractData2()
andextractData()
now provide consistent output for values which haveNA
as value label (#100) -
inspectMetaDifferences()
now correctly reports differences for meta data with differing row names (#102) - hot fix for
existingMeta
argument inrecodeGADS()
andapplyChangeMeta()
, which was ignored when values were recoded into each other (#104) - fix unclear documentation in
removeValLabels()
(#111)
eatGADS 1.1.1
CRAN release: 2024-10-09
new features
-
inspectDifferences()
andinspectMetaDifferences()
now allow comparisons of variables within the sameGADSdat
object (#62) - new function
import_tibble()
allows importingtibbles
asGADSdat
objects (#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 whenformat
is also NA (#72) -
changeMissings()
now correctly changes missing labels for values of variables with partially non-existentvalue
s and/orvalLabel
s (#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 andSPSS
format occur (#81) -
extractData2()
andextractData()
now correctly transform variables with duplicate value labels (#77)
documentation
-
import_spss
vignette 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 thecheckVarNames
argument -
reuseMeta()
now can be use on multiple variables at once -
inspectMetaDifferences()
now can be applied to data bases as well -
recodeNA2missing()
for recodingNAs
to a specific missing code -
recode2NA()
now allows the recoding of multiplevalues
at 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_GADSdat
objects -
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_suffix
argument - 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 alsoSQLite
keywords 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 theconvertCases
argument -
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.frame
output format -
extractData2()
for better usability and support of ordered factors -
fixEncoding()
now supports imports ofwindows-1250
imported files viaimport_spss()
withUTF-8
encoding -
import_spss()
now transformsDATEATIME
andADATE
variables 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 alabel
attribute to the resultingdata.frame
- a numeric tolerance can now be specified within
equalGADS()
- fixed warnings for
getTrendGADS()
-
inspectMetaDifferences()
for inspecting meta differences between twoGADSdats
and 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()
usingASCII
or other encoding -
composeVar()
for combining the information of two variables in a third variable -
subImputations()
now works with differingvarName
andvarName_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 changedlabeledStrings
argument
major changes
-
assimilateValLabels()
for assimilating value labels of multiple variables -
cbind.GADSdat()
method for binding multipleGADSdat
objects by column -
calculateScale()
for calculating scales from item sets -
checkUniqueness()
for checking uniqueness of a variable within anid
variable
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.0
vsF8
) - fix
JSS
link in vignette
eatGADS 0.18.0
-
applyChangeMeta()
andchangeValLabels()
now automatically assign"valid"
to themissings
columns 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 modifyingSPSS
format type compatibility with actual data -
check4SPSS()
for checkingSPSS
meta data conventions and requirements -
changeVarNames()
andapplyChangeMeta()
now enforceSQLite3
naming conventions - bug fixes
write_spss2()
- bug fix
applyChangeMeta()
: now recognizes differences inNAs
in 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 theGADSdat
and thechangeTable
differ -
applyChangeMeta()
tries to convertvalue
columns inchangeTable
to 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 twoGADSdat
objects -
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.sav
files via a text file and aSPSS
syntax -
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 anencoding
argument to work around faulty defaults
Internal
- better performance of
applyChangeMeta()
on value level - bug fix
import_spss()
(all columns are forced to bedouble
when 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()
(haven
patch 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, argumentexistingMeta
added -
recodeGADS()
allows recoding ofNA
now -
recode2NA()
allows recoding of numeric and character values toNA
-
recodeString2NA()
has been deprecated - bug fix
collapseColumns()
(now supportsnew_value
as 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
-valLabel
pairs if required - changing value labels inside of
recodeGADS()
vianewValueLabels
deprecated (usechangeValLabels()
instead) -
applyChangeMeta()
now works withdata.frames
(for compatibility withexcel
import and export) -
import_spss()
now supports variables of typedatetime
-
import_stata()
andwrite_stata()
for exporting and importingStata
files
Internal
-
check_GADSdat()
now checks for duplicate value rows - switch from
travis
andappVeyor
toGithub Action
-
applyChangeMeta()
checksformat_new
column 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_new
is changed - Setup
revdepcheck