bind-rows
Stack datasets on top of each other (row union).
NoteExperimental
This function is experimental; its interface may change without notice.
Since 0.6.0.
The output columns are the union of every input’s columns, in first- appearance order; a row missing a column fills it with none. Factor tags are unioned across the inputs. Passing no datasets returns (), and a none dataset is skipped.
Usage
bind-rows(
..datasets,
)Parameters
| Parameter | Default | Description |
|---|---|---|
..datasets |
Datasets to stack, as positional row/column stores. |
Returns
A single row-store array of every input row.
Examples
Combine two batches of rows with aligned columns.
#let all = bind-rows(january, february)