implement support for variable attributes for field label incl conversion of logicals to factor

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-11-19 12:54:26 +01:00
commit fe9918dc10
No known key found for this signature in database
6 changed files with 132 additions and 11 deletions

21
man/set_attr.Rd Normal file
View file

@ -0,0 +1,21 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ds2dd_detailed.R
\name{set_attr}
\alias{set_attr}
\title{Set attributes for named attribute. Appends if attr is NULL}
\usage{
set_attr(data, label, attr = NULL)
}
\arguments{
\item{data}{vector}
\item{label}{label}
\item{attr}{attribute name}
}
\value{
vector with attribute
}
\description{
Set attributes for named attribute. Appends if attr is NULL
}