labelr: Label Data Frames, Variables, and Values

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.

Version: 0.1.6
Depends: R (≥ 4.0.0)
Imports: stats, utils
Suggests: knitr, rmarkdown, car, nycflights13, collapse, tibble, haven, dplyr, modelr, ggplot2
Published: 2024-06-04
DOI: NA
Author: Robert Hartman [aut, cre], The MITRE Corporation [cph]
Maintainer: Robert Hartman <rohartman at gmail.com>
License: GPL (≥ 3)
URL: https://github.com/rhartmano/labelr
NeedsCompilation: no
Materials: README NEWS
CRAN checks: labelr results

Documentation:

Reference manual: labelr.pdf
Vignettes: Labelr - An Introduction
Labelr - Special Topics

Downloads:

Package source: labelr_0.1.6.tar.gz
Windows binaries: r-devel: labelr_0.1.6.zip, r-release: labelr_0.1.6.zip, r-oldrel: labelr_0.1.6.zip
macOS binaries: r-release (arm64): labelr_0.1.6.tgz, r-oldrel (arm64): labelr_0.1.6.tgz, r-release (x86_64): labelr_0.1.6.tgz, r-oldrel (x86_64): labelr_0.1.6.tgz
Old sources: labelr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=labelr to link to this page.