The function works on a loop based on the dictionnary. Add a column clean and insert in the cell the name of the csv file that will be used to generate the cleaned variable The first column of that file will be used for the matching, the second column will be added to the dataframe. The new cleaned variable will be inserted in the dictionnary. with a suffix '.clean'
kobo_clean(frame, form = "form.xlsx", app = "console")
frame | dataframe to use |
---|---|
form | name of the form file in xls format |
app | The place where the function has been executed, the default is the console and the second option is the shiny app |
Edouard Legoupil
if (FALSE) { kobo_clean(frame, form = "form.xlsx") }