get_questionnaire_elements: Getting the questionnaire elements from a project

get_questionnaire_elementsR Documentation

Getting the questionnaire elements from a project

Description

Takes the log data from a single participation and returns a table with the names of all questionnaire elements and runtime survey elements (which are technically questionnaires as well) and the respective event codes.

Usage

get_questionnaire_elements(json_data)

Arguments

json_data

Nested list including the log data for a single participation

Value

A dataframe including all questionnaire elements, their event codes and other relevant information

Examples

## Not run: 
json_file = "participation_logdata.json"
json_data <- rjson::fromJSON(json_file)
questionnaire_elements <- get_questionnaire_elements(json_data)

## End(Not run)


LucaOffice/lucar documentation built on Dec. 5, 2023, 5:14 a.m.