| normalise_decisions_shape | R Documentation |
id, human_decision, note, timestamp.Any column missing from the input is added as a character NA
vector. Extra columns are preserved. NULL or a zero-row input
returns a properly-shaped empty tibble; the caller can rbind /
bind_rows new rows against it without a column-mismatch error.
normalise_decisions_shape(d)
d |
A data.frame or NULL. |
Used at load time (mod_setup rehydration) and at write time (Screen tab record_decision) so a legacy 1- or 2-column decisions file on disk gets sanitised on its way through the app rather than propagating broken shape into downstream tabs.
A data.frame with at least the four canonical columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.