Online documentation: http://larmarange.github.io/labelled/
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.
Installation
From CRAN:
install.packages("labelled")
Latest version from GitHub:
devtools::install_github("larmarange/labelled")
Introduction to labelled
Read http://larmarange.github.io/labelled/articles/intro_labelled.html
Some general principles
- Functions are intented to support
labelled
metadata structures only. However,to_labelled
method allows to convert metadata from foreign and memisc packages. - Functions should, by default, modify metadata only (i.e. classes and attributes), except if explicitly expressed by the user.