Skip to contents

Clean all

Usage

clean_all(.tbl, log, survey, choices, id_col, other)

Arguments

.tbl

A tibble

log

A log, which contains a column "action".

survey

A survey sheet from Kobo (with column "type" split)

choices

A choices sheet from Kobo

id_col

Usually uuid... to count

other

A character vector of the start of all other column names. E.g., other = "other_"

Value

A cleaned tibble

Details

Apply all cleaning functions, after checking the log, in the right order, modify character and double variables, recode others and other parents, remove duplicates, remove surveys, recount occurences. It uses default for count_occ_all.