This function used to change the data of sheets in the xlsform and apply all required styles for each sheet
kobo_edit_form( form = "form.xlsx", survey = NULL, choices = NULL, indicator = NULL, settings = NULL, analysisSettings = NULL )
| form | The full filename of the form to be accessed (xls or xlsx file). It is assumed that the form is stored in the data folder. |
|---|---|
| survey | Dataframe that represent the data of survey sheet in the xlsform |
| choices | Dataframe that represent the data of choices sheet in the xlsform |
| indicator | Dataframe that represent the data of indicator sheet in the xlsform |
| settings | Dataframe that represent the data of settings sheet in the xlsform |
| analysisSettings | Dataframe that represent the data of analysisSettings sheet in the xlsform |
No return, this function edit the original XLSform directly
Maher Daoud
if (FALSE) { kobo_edit_form("form.xlsx") }