make_log_other: Make "other questions" log

View source: R/monitor.R

make_log_otherR Documentation

Make "other questions" log

Description

Make "other questions" log

Usage

make_log_other(.tbl, survey, other, id_col, ...)

Arguments

.tbl

A tibble of data

survey

The survey sheet from Kobo

other

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

id_col

Survey id, usually uuid

...

Columns to keep in the log, e.g. uuid, enum_id

Details

It assumes that a parent question and its children "other" are coded as follows within the kobo tool : e.g., parent_question, other_parent_question.

Value

A log with all "other_cols".

See Also

make_log for a log based on a logical test

make_log_from_check_list() for a log based on many logical tests

make_log_outlier() for a log based on outliers

make_all_logs() for all logs: outliers, others, logical tests

Other functions to make logs: make_all_logs(), make_log_from_check_list(), make_log_outlier(), make_log()


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