get_lsParentlabel: Get Parent Question Label

View source: R/getParentLabel.R

get_lsParentlabelR Documentation

Get Parent Question Label

Description

Retrieves parent question label for sub-questions of a LimeSurvey questionnaire. Implies that the question label has been previously assigned by calling the set_question_labels function. The parent question label is stored as attribute "parent_label" for each sub-question variable of the data frame.

Usage

get_lsParentlabel(x)

Arguments

x

Variable column of the result data frame

Value

String of parent question label or NULL if no parent label has been set.


jmueller17/LimeRLabel documentation built on May 2, 2023, 7:13 p.m.