prepare_lsd | R Documentation |
The survey data collected via LUCA Office can be downloaded in form of a zip
archive that includes JSON data for each participation. prepare_lsd()
prepares the nested JSON data from the participations in a summarized form
for secondary analyses.
prepare_lsd(
path = "./",
aggregate_duplicate_events = FALSE,
idle_time = 10,
unzip = TRUE,
event_codes = lucar::event_codes,
tool_codes = lucar::tool_codes,
debug_mode = FALSE
)
path |
Path to the folder including zip archives downloaded from LUCA Office (already unzipped JSON files as well as archives or files in subfolders are also considered). |
aggregate_duplicate_events |
For |
idle_time |
For values larger than 0, events will be marked as idle,
if the event following this one happened more than |
unzip |
For |
event_codes |
Table with event codes that are used to identify and differentiate events. The package provides a standard encoding of the events, however, for very specific analyses it can be adapted as needed. |
tool_codes |
Table with codes for the different available tools. These are used similar as the event codes to identify and differentiate events. The package also provides a standard encoding of the events. For very specific analyses it can also be adapted as needed. |
debug_mode |
For |
Besides a table including the relevant information for each participation, the function additionally returns different tables with overviews on the elements used in the scenarios, the form of included questionnaires, and the raters responsible for the scoring.
List including different tables (tibbles) with participation data and documentation on the administered project.
## Not run:
# Prepare survey data given in the current directory
survey_data <- prepare_lsd()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.