Walks the ARD and writes the three tfl_table_spec() sheets: one tables row,
one variables row per analysis variable (its levels filled in for a
categorical one), and one cells row per row template — a continuous
variable gets the templates its statistics can fill, a categorical one
{n} ({p}). Edit the labels, templates and digits, and hand it back
through spec =.
Arguments
- ard
A cards/cardx ARD.
- path
Optional destination; when given the spec is also written there with
tfl_write_table_spec().- cols
The column keys for the
tablesrow, if known.- output_id
The report the rows belong to;
NULLwrites them as defaults.
Value
An tfl_table_spec(), invisibly when path is given.
The table engine
The ARD functions and the plan are rtfreporter's:
help("ard-tables", package = "rtfreporter").
See also
tfl_table_spec(), plan_template(form = "spread")