Skip to content

Releases: beckerbenj/eatGADS

eatGADS 1.2.0

Choose a tag to compare

@beckerbenj beckerbenj released this 21 May 15:39

new features

  • dropDuplicateIDs() allows dropping duplicate IDs based on number of missings on selected variables (#67)
  • changeValLabels() and changeMissings() 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() and equalMeta() now split the functionality of equalGADS()
  • equalData() and equalGADS() now support multiple id variables (id)

changes

  • inspectMetaDifferences() now provides consistent output for variable label differences

bug fixes

  • extractData2() and extractData() no longer throw an error if multiple values of the same variable are labeled NA (#96)
  • extractData2() and extractData() no longer produce an error if there are multiple duplicate value labels in a variable
  • extractData2() and extractData() no longer produce a warning if multiple duplicate value labels occur which are tagged and transformed to NA anyway (#98)
  • extractData2() and extractData() now provide consistent output for values which have NA as value label (#100)
  • inspectMetaDifferences() now correctly reports differences for meta data with differing row names (#102)
  • hot fix for existingMeta argument in recodeGADS() and applyChangeMeta(), 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() and equalGADS() now work with GADSdat objects of length one (#127)

eatGADS 1.1.1

Choose a tag to compare

@beckerbenj beckerbenj released this 09 Oct 15:15

new features

  • inspectDifferences() and inspectMetaDifferences() now allow comparisons of variables within the same GADSdat object (#62)
  • new function import_tibble() allows importing tibbles as GADSdat objects (#88)

bug fixes

  • applyLookup() now works for multiple variables that contain NAs (#68)
  • applyChangeMeta() and recodeGADS() 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() and extractData2() now correctly apply value labels, even when value and value label conflicts exist
  • write_spss2() now also handles variables containing only NA values when format is also NA (#72)
  • changeMissings() now correctly changes missing labels for values of variables with partially non-existent values and/or valLabels (#73)
  • autoRecode() now correctly overwrites the existing variable if var_suffix = "" (#84)
  • The output of inspectMetaDifferences() is now correctly named even if differences in variable labels and SPSS format occur (#81)
  • extractData2() and extractData() now correctly transform variables with duplicate value labels (#77)

documentation

  • import_spss vignette updated to use extractData2() instead of extractData()

internal

  • refactored extractData() to use extractData2() internally (#82)

eatGADS 1.0.0

Choose a tag to compare

@beckerbenj beckerbenj released this 19 Apr 12:06

new features

  • multiChar2fac() now allows converting to upper or lower cases via the convertCases 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 offers data.frame output format
  • extractData2() for better usability and support of ordered factors
  • fixEncoding() now supports imports of windows-1250 imported files via import_spss() with UTF-8 encoding
  • import_spss() now transforms DATEATIME and ADATE 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 setting labeledStirngs = "transform"
  • bug fix in import_spss() for variables with missing tags but no value labels (these missing tags were dropped before)