get_scenario_elements: Getting the scenario elements from a project

get_scenario_elementsR Documentation

Getting the scenario elements from a project

Description

Takes the log data from a single participation and returns a table with the names of all scenario elements and the respective event codes. These might be emails, excel sheets, pdf, and other elements.

Usage

get_scenario_elements(json_data, project_modules)

Arguments

json_data

Nested list including the log data for a single participation

project_modules

Table of project elements, their ids and other info

Value

A dataframe including all elements existing in the scenarios of a project, their event codes and other relevant information

Examples

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

## End(Not run)


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