labelled v1.0.0


Monthly downloads



Manipulating Labelled Data

Work with labelled data imported from 'SPSS' or 'Stata' with 'haven' or 'foreign'.


Project Status: Active - The project has reached a stable, usable state and is being actively developed. Travis-CI Build Status CRAN_Status_Badge downloads

Labelled package for R

This package is built on the new class labelled introduced by haven package and propose additional functions to manipulate labelled data.

Please note that this package is still under active development.

Missing values are currently not supported anymore by labelled package.


From CRAN:


Latest version from GitHub:


Introduction to labelled


Some general principles

  1. Functions are intented to support labelled metadata structures only. However, to_labelled method allows to convert metadata from foreign and memisc packages.
  2. Functions should, by default, modify metadata only (i.e. classes and attributes), except if explicitly expressed by the user.

Functions in labelled

Name Description method for labelled vectors
copy_labels Copy variable and value labels
val_labels_to_na Recode value labels to NA
val_labels Get / Set value labels
mean.labelled Arithmetic mean for numeric labelled vectors
na_values Get / Set SPSS missing values
nolabel_to_na Recode values with no label to NA
remove_labels Remove variable label, value labels and user defined missing values
to_factor Convert input to a factor.
to_labelled Convert to labelled data
labelled_spss Create a labelled vector with SPSS style of missing values.
labelled Create a labelled vector.
var_label Get / Set a variable label
to_character Convert input to a character vector
sort_val_labels Sort value labels
No Results!

Last month downloads


Type Package
Date 2016-11-20
License GPL-3
Encoding UTF-8
LazyData true
VignetteBuilder knitr
RoxygenNote 5.0.1
NeedsCompilation no
Packaged 2016-11-20 12:51:50 UTC; LARMARANGE Joseph
Repository CRAN
Date/Publication 2016-11-20 17:30:53

Include our badge in your README