Skip to content
sjlabelled needs insight, which CRAN will archive unless its check problems are fixed by Nov 14.

sjlabelled

1.2.0Package record

Labelled Data Utility Functions

16packages dependsuggested by 4
356.2Kdownloads / year
12.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.2.0

Breaking

  • The atomic.to.fac argument was renamed to convert.factors. Furthermore, this argument now defaults to TRUE.

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

CRAN checks
13OK
Slowest check: 1.9 min · r-devel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.2.0
READMEYes · 171 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structured · mentions 1.2.0Citation fileYes · computed when R runs itWebsiteYes · pkgdown
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

356.2K
CRAN downloads in the past year
Rank #738 · ~976/day · ~29.7K/mo
Daily download trend is not available in this view yet.
25.3K30 days
69.1K90 days
356.2K1 year
Compare downloads with other packages →
Also on2.7K r2u7 autocran8.5K conda_forge230 c2d4u

Repository

89Stars
11Forks
15Open issues
1Open PRs
5Releases
263Commits
6Commit identities
263 commits · Last activity 2026-08-19 · 0% stars, 30d · Default branch at 1.2.0.3, ahead of CRAN 1.2.0 (checked 2026-10-25)
Responsiveness
How these are sampled
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

2025-08-08 · 862026-07-07 · 89
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2024-05-13 · The repository has a site deploy workflow

Lint, format, editor (3)
lintrLint workflowRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing sjlabelled adds 2 packages (0 with compiled code, 1.6 MB of source tarballs). Heaviest: insight 1.2 MB, datawizard 432 KB.

Depends (1)
R >= 3.4
Imports (5)
insightdatawizardstatstoolsutils
LinkingTo (0)
none
Enhances (0)
none
Dependencies facing archival

CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.

Reverse dependencies
16direct
19indirect
Depends 1 · Imports 15
Suggested by 4
Show all 20 packagesHide all 20 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 1.0.0 (2017)
Contributor · added in 1.1.8
Contributor · added in 1.1.8
Listed in earlier versions (1)
no longer listed · 1.1.1 to 1.1.7
Releases (28)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.0Latest
    record
    2022-04-10 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.1.8
    record
    2021-05-11 · diff ↗
  • 1.1.7
    record
    2020-09-24 · diff ↗
  • 1.1.6
    record
    2020-06-25 · diff ↗ ·
    added 4 exports
    to_character, to_factor, to_label, to_numeric
  • 1.1.5
    record
    2020-05-25 · diff ↗
  • 1.1.4
    record
    2020-05-01 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.3
    record
    2020-01-28 · diff ↗
  • 1.1.2
    record
    2020-01-17 · diff ↗ ·
    removed 1 export
    %>%
    added 3 exports
    label_to_colnames, response_labels, term_labels
  • 1.1.1
    record
    2019-09-13 · diff ↗ ·
    added 1 export
    read_data
Show 22 earlier eventsHide 22 earlier events

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
Appears in task views

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sjlabelled version 1.2.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy