Skip to content

labelr

0.1.9Package record

Label Data Frames, Variables, and Values

0packages depend
2.9Kdownloads / year
–test coverage
0/13flavors OK

Overview

About

Create and use data frame labels for data frame objects (frame labels), their columns (name labels), and individual values of a column (value labels). Value labels include one-to-one and many-to-one labels for nominal and ordinal variables, as well as numerical range-based value labels for continuous variables. Convert value-labeled variables so each value is replaced by its corresponding value label. Add values-converted-to-labels columns to a value-labeled data frame while preserving parent columns. Filter and subset a value-labeled data frame using labels, while returning results in terms of values. Overlay labels in place of values in common R commands to increase interpretability. Generate tables of value frequencies, with categories expressed as raw values or as labels. Access data frames that show value-to-label mappings for easy reference.

Changes in 0.1.9
  • fixed smerge() bug introduced by Base R changes to set operation behavior.

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    ‘as_base_data_frame.R’ ‘as_base_data_frame2.R’
    ‘as_labeled_data_frame.R’ ‘irregular2.R’

r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64

Missing dependency on R >= 4.1.0 because package code uses the pipe
  |> or function shorthand \(...) syntax added in R 4.1.0.
  File(s) using such syntax:
    'as_base_data_frame.R' 'as_base_data_frame2.R'
    'as_labeled_data_frame.R' 'irregular2.R'

CRAN check page ↗

Slowest check: 12.9 min · r-oldrel-windows-x86_64
Status changes
  • NOTE13 NOTE2026-06-09
  • ERROR12 NOTE, 1 ERROR2026-06-08
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.9
READMEYes · 430 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.1.9Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
91
Examples that run
100%91 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.9K
CRAN downloads in the past year
Rank #15,014 · ~8/day · ~240/mo
Daily download trend is not available in this view yet.
33730 days
80690 days
2.9K1 year
Compare downloads with other packages →
Also on65 r2u4 autocran

Repository

3Stars
1Forks
1Open issues
0Open PRs
0Releases
102Commits
3Commit identities
License file reads as GPL-3.0 · 102 commits · Last activity 2024-08-30 · The default branch showed an older version (0.1.8) than CRAN on 2026-10-22
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
14

Stars over time

2024-10-01 · 32026-07-07 · 3
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/rhartmano/labelr on 2026-10-22.

Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing labelr adds no packages beyond those that come with R.

Depends (1)
R >= 4.0.0
Imports (2)
statsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.2 (2024)
Copyright holder
Releases (8)

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
  • 0.1.9Latest
    record
    2024-09-08 · current release · diff ↗
  • 0.1.8
    record
    2024-08-27 · diff ↗
  • 0.1.7
    record
    2024-07-20 · diff ↗ ·
    added 2 exports
    aldf, as_labeled_data_frame
  • 0.1.6
    record
    2024-06-04 · diff ↗ ·
    added 6 exports
    adf, adf2, as_base_data_frame2, f2c, fact2char, irregular2
  • 0.1.5
    record
    2024-05-02 · diff ↗ ·
    added 1 export
    v
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.4
    record
    2024-04-02 · diff ↗ ·
    added 12 exports
    all_uniquev, all_univ, get_val_lab1, gvl1, h11l, has_avl_labs, has_m1_labs, has_quant_labs, has_val_labs, hm1l, hql, hvl
  • 0.1.3
    record
    2024-02-21 · diff ↗ ·
    added 17 exports
    add_lab_col1, add_lab_dumm1, add_lab_dummies, alb, alc, alc1, ald, ald1, all_quant_labs, allq, axis_lab, f2int, factor_to_lab_int, int2f, lab_int_to_factor, use_val_lab1, uvl1
  • 0.1.2
    record
    2024-01-23
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-01-23
Total releases
8 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.0.0
Download size
296 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("labelr")
Hartman, R., & The MITRE Corporation. (2024). labelr: Label Data Frames, Variables, and Values (Version 0.1.9) [Computer software]. https://doi.org/10.32614/CRAN.package.labelr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 labelr version 0.1.9 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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