import_multiple: JATOS text file parsing function (multiple results)

View source: R/import_multiple.R

import_multipleR Documentation

JATOS text file parsing function (multiple results)

Description

import_multiple() parses a JATOS .txt file containing multiple participant's results to a (list of) R object(s).

Usage

import_multiple(
  jatos_txt_file,
  separate = TRUE,
  exclusion = TRUE,
  indiv = FALSE,
  ret_incomplete = FALSE,
  ...
)

Arguments

jatos_txt_file

JATOS .txt file path.

separate

Returns separate lists for non-distanced and distanced groups?

exclusion

Exclude those meeting exclusion criteria from questionnaire / hBayesDM outputs?

indiv

Return individual-level data? This can then be passed to plot_import(). and plotted for one individual at a time.

ret_incomplete

Return incomplete datasets? They may require manual parsing.

...

Other arguments passed to import_single().

Value

list of tibbles or a single tibble if combine == TRUE.

Examples

## Not run: 
# Data not included in package (as ~900MB)
all_res_split <- import_multiple(
  "data-raw/all_995_complete.txt", add_sex = TRUE
)

## End(Not run)


qdercon/pstpipeline documentation built on June 1, 2025, 1:11 p.m.