Labelled Data Utility Functions
Overview
Collection of functions dealing with labelled data, like reading and writing data between R and other statistical software packages like 'SPSS', 'SAS' or 'Stata', and working with labelled data. 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.
Breaking
- The
atomic.to.facargument was renamed toconvert.factors. Furthermore, this argument now defaults toTRUE.
Changes to functions
write_*()functions now remove variables with completely missing data, to avoid errors when writing the data file.
Bug fixes
- Fixed issue in
write_*()functions when labelled data was of type integer.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-05-03
- OK14 OK2026-03-10
Documentation
- Help pages
- 27includes a package overview page
- Examples that run
- 96%22 run in a plain check · 1 never run
- Exported functions with examples
- 88%
- Documented parameters
- 99%
- Return-value docs
- 96%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 50%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
8 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/strengejacke/sjlabelled on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2024-05-13 · The repository has a site deploy workflow
Dependencies
Installing sjlabelled adds 2 packages (0 with compiled code, 1.6 MB of source tarballs). Heaviest: insight 1.2 MB, datawizard 432 KB.
CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.
- insightfix by Nov 14
Show all 20 packagesHide all 20 packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.2.0Latest
- RR 4.1.0 released · 2021-05-18
- 1.1.82021-05-11 · diff ↗
- 1.1.72020-09-24 · diff ↗
- 1.1.6
- 1.1.52020-05-25 · diff ↗
- 1.1.42020-05-01 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.1.32020-01-28 · diff ↗
- 1.1.22020-01-17 · diff ↗ ·
removed 1 export
%>%added 3 exports
label_to_colnames, response_labels, term_labels - 1.1.1
Show 22 earlier eventsHide 22 earlier events
- 1.1.0
- RR 3.6.0 released · 2019-04-26
- 1.0.17
- 1.0.16
- 1.0.152018-11-22 · diff ↗
- 1.0.142018-09-12 · diff ↗
- 1.0.13
- 1.0.122018-07-08 · diff ↗
- 1.0.112018-06-06 · diff ↗
- 1.0.10
- 1.0.9
- RR 3.5.0 released · 2018-04-23
- 1.0.8
- 1.0.72018-01-31 · diff ↗
- 1.0.6
- 1.0.5
- 1.0.42017-10-08 · diff ↗
- 1.0.3
- 1.0.22017-09-11 · diff ↗
- 1.0.1
- 1.0.02017-06-12
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-06-12
- Total releases
- 28 / 9 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.4
- Bundled data
- 17 KB / 1 file
- Download size
- 152 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sjlabelled")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.