This package contains utility functions that are useful when working with labelled data (especially intended for people coming from ‘SPSS’, ‘SAS’ or ‘Stata’ and/or who are new to R).
Basically, this package covers reading and writing data between other statistical packages (like ‘SPSS’) and R, based on the haven and foreign packages; hence, this package also includes functions to make working with labelled data easier. This includes easy ways to get, set or change value and variable label attributes, to convert labelled vectors into factors or numeric (and vice versa), or to deal with multiple declared missing values.
To install the latest development snapshot (see latest changes below), type following commands into the R console:
library(devtools)
::install_github("strengejacke/sjlabelled") devtools
To install the latest stable release from CRAN, type following command into the R console:
install.packages("sjlabelled")
In case you want / have to cite my package, please use
citation('sjlabelled')
for citation information.