Skip to content

Releases: strengejacke/sjlabelled

sjlabelled 1.0.14

12 Sep 20:23
Compare
Choose a tag to compare

General

  • Reduce package dependencies.

Bug fixes

  • Fix bug in var_labels(), where non-existing columns may lead to wrong labelling.

sjlabelled 1.0.13

11 Aug 17:07
Compare
Choose a tag to compare

General

  • Removed defuncted functions.

Changes to functions

  • copy_labels() now also copy labels even if columns in subsetted and original data frame do not completely match.
  • Arguments include.non.labelled and include.values in get_labels() are renamed to shorter versions non.labelled and values. include.non.labelled and include.values will become softly deprecated.
  • The read_*()-functions get a verbose-argument, to show or hide the progressbar when imported datasets are converted.

Bug fixes

  • Due to changes in the broom and lmerTest packages, tidiers did no longer work for lmerModLmerTest objects.

sjlabelled 1.0.12

08 Jul 21:50
Compare
Choose a tag to compare

General

  • get_dv_labels() and get_term_labels() now support clmm-objects (package ordinal) and stanmvreg-objects (package rstanarm).
  • read_spss() gets a enc-argument for character encoding, which is now supported since haven 1.1.2.
  • get_term_labels() now returns NULL for unsupported models, instead of giving an error.
  • get_dv_labels() now returns a default string for unsupported models, instead of giving an error.

sjlabelled 1.0.11

06 Jun 16:21
Compare
Choose a tag to compare

General

  • as_labelled() now corrects inconsistent types between labels and variable values.

Changes to functions

  • get_dv_labels() gets a multi.resp-argument to return each label of a multivariate response model (only for brmsfit objects).
  • get_label() now also returns name-attribute for empty labels if x was a data.frame.

Bug fixes

  • write_*()-functions should now properly set labels for negative values.

sjlabelled 1.0.10

18 May 07:56
Compare
Choose a tag to compare

General

  • Deprecated set_note() and get_note(), because there is already an R base function for this purpose: comment().
  • Improved performance of functions, at the cost of removing support for the foreign package. sjlabelled now only supports labelled data from package haven.

Changes to functions

  • get_term_labels() gets a prefix-argument to prefix the returned labels of categorical variable either with the related variable name or label.

Bug fixes

  • Fix issues with retrieving incorrect labels from get_term_labels() for models that used unlabelled data in combination with other contrasts than the default option.
  • get_dv_labels() no longer returns "NULL" for multivariate-response-models fitted with brms.