get_other_parent: Get all select multiple and parent other questions

View source: R/utils_kobo.R

get_other_parentR Documentation

Get all select multiple and parent other questions

Description

Get all select multiple and parent other questions

Usage

get_other_parent(.tbl, other)

Arguments

.tbl

A tibble of data

other

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

Details

This function has a tibble and the associated survey sheet as inputs, as well as the beginning of the "other" character string. It returns all columns that exist in the tibble and are either a multiple choice or a parent other question. This allows then to compute these columns with impactR::count_occ after parent question may have been recoded.

Value

A character vector of other questions


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