Skip to contents

Explicitly combines file-group tibbles after checking their columns, types, factor-level contracts, time zones, modalities, roles, data states, and relationship consistency. Multiple non-missing device links within one dataset are rejected.

Usage

glc_collect(x, standardize = c("lightlogr", "none"))

Arguments

x

A collection returned by glc_read().

standardize

Either "lightlogr" to add the conventional Id, file_group_id, participant_Id, Datetime, and file.name columns and remove internal .glc_* provenance columns, or "none" to retain source and provenance columns unchanged.

Value

A combined tibble. In LightLogR-standardized output, Id contains the dataset id, file_group_id identifies the source file group, participant_Id contains the participant id, an existing source file.name column is retained, and the result is grouped by Id.

Examples

if (FALSE) { # interactive()
iztech <- glc_open("tscnlab/melidos-iztech-glc-dataset")
collection <- glc_read(
  iztech,
  dataset_id = "MELIDOS_IZTECH_S001",
  file_group = "MELIDOS_IZTECH_S001:17",
  n_max = 10
)
glc_collect(collection)
}