Apply_Carousel: Batch apply the carousel presentation style to a list of...

View source: R/Carousel.R

Apply_CarouselR Documentation

Batch apply the carousel presentation style to a list of questions belonging to various groups

Description

This takes two data.tables (not lists in the R sense of the word!)- a list of array subquestions that includes the qid, gid, parent_qid, and title, and a list that contains the empty questions (with "title", "gid", and "qid") that are within the arrays group which should receive the html injection- and applies the carousel javascript/html format to them

Usage

Apply_Carousel(Array_Question_List, Top_Question_List)

Arguments

Array_Question_List

A list of the subquestions that should be transformed into the carousel format

Top_Question_List

A list of the "TEXT" questions that are in the group with the respective array question, and that should "receive" the html/javascript payload

Examples

## Not run: 
Apply_Carousel(Array_Question_List, Top_Question_List)

## End(Not run)


bpresentati/surveyR documentation built on March 19, 2022, 3:40 a.m.