Learn R Programming

rtables (version 0.3.8)

export_as_tsv: Create Enriched flat value table with paths

Description

This function creates a flat tabular file of cell values and corresponding paths.

Usage

export_as_tsv(tt, file = NULL, pathproc = collapse_path)

import_from_tsv(file)

Arguments

tt

TableTree (or related class). A TableTree object representing a populated table.

file

character(1). The path of the file to written to or read from.

pathproc

function. Internal detail, not intended for use by end users.

Value

NULL silently for export_as_tsv, a data.frame with re-constituted list values for export_as_tsv.

Details

List columns where at least one value has length > 1 are collapsed to character vectors by collapsing the list element with "|".