Convert table to YAML

tbl2yaml(tbl = NULL, filename = NULL, ..., open = TRUE)

Arguments

tbl

The data table or path to a data table

filename

The name of a file to save to

...

Extra column values to be added

open

Whether to open the file in a text editor

Value

opens file or returns YAML text

Examples

yaml <- tbl2yaml(demo_marks, class = "PSYCH1001")