knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(surveyDesigner)

r6_referential

The filtering of the referential should take in account the order/sequence of questions and modules.

A specific method is implemented to separate our file with begin and end group

ref <- Referential$new(
  path = system.file("SurveyDesigner_Referential.xlsx", package = "surveyDesigner") 
)

head(ref$data$survey)

# Example by groups
ref$by_groups$group_intro

Utils for referential manipulation



unhcr-americas/surveyDesigner documentation built on Sept. 29, 2023, 9:13 p.m.