op_batch_create_csv: Process all Dyad Directories to Create CSV Files Using...

View source: R/op_batch_create_csv.R

op_batch_create_csvR Documentation

Process all Dyad Directories to Create CSV Files Using MultimodalR

Description

This function processes all dyad directories in the specified input base path, applying the op_create_csv function from the package, and saves the output in the corresponding directories in the output base path.

Usage

op_batch_create_csv(
  input_base_path,
  output_base_path,
  include_filename = TRUE,
  include_labels = FALSE,
  frame_width = 1920,
  export_type = "dyad",
  model = "all",
  overwrite = FALSE
)

Arguments

input_base_path

Character. The base path containing dyad directories with JSON files.

output_base_path

Character. The base path where the CSV files will be saved.

include_filename

Logical. Whether to include filenames in the CSV. Default is TRUE.

include_labels

Logical. Whether to include labels in the CSV. Default is FALSE.

frame_width

Numeric. The width of the video frame in pixels. Default is 1920.

export_type

Character. The type of export file, such as 'dyad' or other formats. Default is 'dyad'.

model

Character. The model object to use for processing, e.g., 'all' or a specific model. Default is 'all'.

overwrite

Logical. Whether to overwrite existing files. Default is FALSE.

Value

None. The function is called for its side effects.


duet documentation built on April 3, 2025, 5:52 p.m.