This function uses paste to concatenate the same-location entries
of a list of data.frames together (i.e. all the first row-first column
values are pasted together, all the second row-first column values are
pasted together, etc.)
Arguments
- blocks
Blocks, either a single
data.frameor alistofdata.frames- sep
stringto use as separator for output pasted values- nested_metadata
A
logicalindicating the existence of nested metadata in the blockmeasureslist, e.g. as is typically output by read_blocks. IfNULL, will attempt to infer existence of nested metadata
Value
If nested_metadata = TRUE (or is inferred to be TRUE), a list
containing a list containing: 1. a data.frame with the
pasted data values from blocks, and 2. a vector with the
pasted metadata values from blocks
If nested_metadata = FALSE (or is inferred to be FALSE), a list
containing data.frame's with the pasted values from
blocks