Skip to content

Releases: larmarange/labelled

labelled 2.4.0

26 May 08:02
Compare
Choose a tag to compare
  • fixes for haven 2.3.0 (#59 by @hadley)
  • correct re-export of functions from haven
  • update_labelled() has been improved to allow to reconstruct
    all labelled vectors created with a previous versiob of haven

labelled 2.3.0

27 Apr 13:55
Compare
Choose a tag to compare
  • new function unlabelled()

labelled 2.2.2

04 Feb 11:14
Compare
Choose a tag to compare
  • bug fix for look_for() (#52 by @NoahMarconi)
  • bug fix in val_labels_to_na() documentation

labelled 2.2.1

26 May 17:32
Compare
Choose a tag to compare
  • bug fix for na_range() and na_values(): variable labels
    are now preserved (#48, thanks to @mspittler)

labelled 2.2.0

16 Apr 14:54
Compare
Choose a tag to compare
  • new function copy_labels_from(), compliant with dplyr syntax
  • update_labelled() is now more strict (#42 by @iago-pssjd)
  • new functions look_for() and lookfor() imported from questionr (#44)
  • new unlist option for var_label()
  • tagged_na() and similar functions are now imported from haven

labelled 2.1.0

26 Feb 08:23
Compare
Choose a tag to compare
  • var_label(), applied to a data.frame, now accepts a character
    vector of same length as the number of columns.
  • set_variable_labels has a new .labels argument.
  • New unclass option in to_factor(), to be used when strict = TRUE (#36)
  • Following haven version 2.1.0, it is not mandatory anymore to define a value
    label before defining a SPSS style missing value. labelled_spss(), na_values()
    and na_range() have been updated accordingly (#37)

labelled version 2.0.2

18 Jan 14:32
Compare
Choose a tag to compare

labelled 2.0.2

  • to_factor() bug fix then applied on a data.frame (#33)

Version 2.0.1

08 Dec 17:08
Compare
Choose a tag to compare

labelled 2.0.1

  • update_labelled() bug fix then applied on a data.frame (#31)

labelled 2.0.0

BREAKING CHANGE

  • Following version 2.0.0 of haven, labelled() and labelled_spss() now
    produce objects with class "haven_labelled" and "haven_labelled_spss", due
    to conflict between the previous "labelled" class and the "labelled" class
    used by Hmisc.
  • A new function update_labelled() could be used to convert data imported
    with an older version of haven to the new classes.

Other changes

  • user_na_to_na option added to to_factor()
  • foreign_to_labelled() now import SPSS missing values (#27)
  • a strict argument added to to_factor() (#25)
  • remove_attributes() preserve character vectors (#30)