This function is the powerhouse of cleanR, it will reshape your data into a cleaning log shape, just make sure you understood that the question.name variable is the variable that you want to treat/clean. so the old.value should be assocaited with the treating variable.
Usage
log_sheet(data, question.name, issue, action)
Arguments
- data
this should be survey data in XML value format
- question.name
this will be the variable name
- issue
provide further detail on the issue
- action
type of action required for the issue
Value
A logbook with flagged observations from log_sheet
Examples
log_sheet()
#> Error in log_sheet(): argument "data" is missing, with no default
if (FALSE) {
log_sheet(data = data, question.name = "variable", issue = "issue", action = "check")
}