get_scenario_elements | R Documentation |
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.
get_scenario_elements(json_data, project_modules)
json_data |
Nested list including the log data for a single participation |
project_modules |
Table of project elements, their ids and other info |
A dataframe including all elements existing in the scenarios of a project, their event codes and other relevant information
## Not run:
json_file = "participation_logdata.json"
json_data <- rjson::fromJSON(json_file)
project_elements <- get_project_elements(json_data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.