get_logdata_summary: Basic summary from the Logdata of a Participation

get_logdata_summaryR Documentation

Basic summary from the Logdata of a Participation

Description

Takes the log data and the already prepared workflow data from a single participant and returns a single line dataframe with general information on the participation.

Usage

get_logdata_summary(
  json_data,
  event_lists,
  scenario_elements,
  debug_mode = FALSE
)

Arguments

json_data

The log data for a single participation in form of a json object

event_lists

The prepared data from the workflows of the participant

scenario_elements

Table of scenario elements, their ids and other info

debug_mode

If TRUE the internal hash IDs for the project elements are included and no module specific data is returned.

Value

A dataframe (consisting of one row) including general information for a single participation

Examples

## Not run: 
json_file = "participation_logdata.json"
json_data <- rjson::fromJSON(json_file)
workflow <- get_workflow(json_data, module_specific=TRUE)
participation_data <- get_participation_data(json_data, workflow)

## End(Not run)


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