fix: keeps labels modifying factors and creates new factors correctly

This commit is contained in:
Andreas Gammelgaard Damsbo 2026-03-11 10:17:42 +01:00
commit 32f299880d
No known key found for this signature in database
23 changed files with 676 additions and 80 deletions

17
man/extract_labels.Rd Normal file
View file

@ -0,0 +1,17 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-labels.R
\name{extract_labels}
\alias{extract_labels}
\title{Extract column labels from a data frame}
\usage{
extract_labels(df)
}
\arguments{
\item{df}{A data frame.}
}
\value{
A named character vector of label strings (only labelled columns included).
}
\description{
Extract column labels from a data frame
}