This function creates a flat tabular file of cell values and
corresponding paths via path_enriched_df. I then
writes that data.frame out as a tsv file.
Usage
export_as_tsv(
tt,
file = NULL,
path_fun = collapse_path,
value_fun = collapse_values
)
import_from_tsv(file)Arguments
- tt
TableTree(or related class). ATableTreeobject representing a populated table.- file
character(1). The path of the file to written to or read from.
- path_fun
function. Function to transform paths into single-string row/column names.
- value_fun
function. Function to transform cell values into cells of the data.frame. Defaults to
collapse_valueswhich creates strings where multi-valued cells are collapsed together, separated by|.
Value
NULL silently for export_as_tsv, a data.frame with
re-constituted list values for export_as_tsv.