RepositoryRFRFrance
larmarange

larmarange/labelled

Manipulating labelled vectors in R

82stars
16forks
0issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: stata

#1 Repository of the month

1
TINIX TRENDING·Topic: haven

#1 Repository of the month

1
TINIX TRENDING·Topic: spss

#1 Repository of the month

labelled

Project Status: Active - The project has reached a stable, usable
state and is being actively
developed. Lifecycle:
stable R-CMD-check CRAN_Status_Badge Downloads DOI Codecov test coverage

This package is built on the new classes haven_labelled and haven_labelled_spss introduced by haven package to handle labelled variables imported from SPSS, Stata and SAS. The labelled package propose several functions to manipulate such vectors and their metadata: variable labels, value labels and user-defined missing values.

Installation & Documentation

To install stable version:

install.packages("labelled")

Documentation of stable version: https://larmarange.github.io/labelled/

To install development version:

remotes::install_github("larmarange/labelled")

Documentation of development version: https://larmarange.github.io/labelled/dev/

Introduction

Read the vignette at https://larmarange.github.io/labelled/articles/intro_labelled.html

Cheatsheet

labelled
cheatsheet

Some general guidelines

  1. Functions are intended to support labelled metadata structures only. However, to_labelled() method allows to convert metadata from foreign and memisc packages.
  2. Functions should, by default, modify metadata only (i.e. classes and attributes), except if explicitly expressed by the user.

Similar Projects

Discover other similar projects and AI models.

RepositoryR
gesistsa/rio

🐟 A Swiss-Army Knife for Data I/O

621
Oct 23, 2026
RepositoryR
ddotta/parquetize

R package that allows to convert databases of different formats to parquet format

80
Nov 24, 2025
RepositoryC
tidyverse/haven

Read SPSS, Stata and SAS files from R

461
Dec 1, 2026
RepositoryR
mlr-org/mlr

Machine Learning in R

1.7k
Oct 11, 2026
RepositoryR
sfirke/janitor

simple tools for data cleaning in R

1.5k
Nov 23, 2026
RepositoryR
gdemin/expss

expss: Tables and Labels in R

87
Oct 15, 2025
RepositoryTypeScript
docker/metadata-action

GitHub Action to extract metadata (tags, labels) from Git reference and GitHub events for Docker

1.2k
Nov 12, 2026
RepositorySAS
HHS-AHRQ/MEPS

This repository provides example code for loading and analyzing data from AHRQ's Medical Expenditure Panel Survey (MEPS). More information about the survey and access to public use data files is available on our website

194
Jun 9, 2026
RepositoryJupyter Notebook
microsoft/ML-For-Beginners

12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all

92.5k
Nov 7, 2026