clean_all: Clean all

View source: R/clean.R

clean_allR Documentation

Clean all

Description

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_"

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.

Value

A cleaned tibble


gnoblet/impactR documentation built on March 20, 2023, 2:24 a.m.