get_subj_info: Extract subjects info from Ibex data

Description Usage Arguments Value

Description

Extract subjects info from Ibex data

Usage

1
2
get_subj_info(file_name, form_name = "intro", info = NULL,
  browser_info = FALSE, short_subj_ids = TRUE, verbose = TRUE, ...)

Arguments

file_name

character. Path to the file with Ibex results

form_name

character. Useful if you have several Forms collecting different info throughout the experiment. In this case form.name should specify which of those Forms collected subject info you're interested in. By default (in IBEX and here) it's “intro”. You can also pass a vector with several form names.

info

character vector, describing which info about subjects you want to extract (i.e. the names of the fields you specified in IBEX, e.g. "age", "sex" etc). If NULL (deault), all the available info will be extracted.

browser_info

logical. Whether to extract subject's browser info or not (defaults to FALSE).

short_subj_ids

logical. If FALSE, just merge timestamp and md5 hash together, If TRUE (default), add a new column with a simple index to idenitfy subjects. One index is assigned to each combination of timestamp and browser md5 hash. The column is put at the place of “subj_uid” column, and “subj_uid” column is moved at the very end of the data.frame.

verbose

logical. If TRUE, print the number of subjects and the kinds of information extracted.

Value

data.frame with subject info


antonmalko/ibextor documentation built on May 25, 2019, 2:26 p.m.