GetTranslatedQuestionType: Get the Q/Displayr name for an entry in a questiontype...

View source: R/utilites.R

GetTranslatedQuestionTypeR Documentation

Get the Q/Displayr name for an entry in a questiontype attribute of a variable.

Description

Helper function to use in Standard R items which require the user to select variables of a certain question type / variable set structure.

Usage

GetTranslatedQuestionType(type, product.name)

Arguments

type

A string indicating the required questiontype value. Should be one of: "PickAny", "PickOne", "PickOneMulti", "Number", "NumberMulti", "NumberGrid", "PickAnyGrid", "Text", "TextMulti", "Ranking", or "Experiment".

product.name

A string, which should be either Displayr or Q


NumbersInternational/flipU documentation built on March 2, 2024, 10:55 a.m.