View source: R/xlsform_functions.R
mutating batch columns allows programmic creation of columns based on an input vector or list. This was developed to add on new variables to a xlsform data set which can then be systematically added to the the xlsform tool
1 | mutate_batch(df, nm, value = NA)
|
df |
dataframe |
names |
names of columns to mutate |
values |
uniform values to mutate |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.