util_filter_missing_list_table_for_rv: Filter a 'MISSING_LIST_TABLE' for rows matching the variable...

View source: R/util_filter_missing_list_table_for_rv.R

util_filter_missing_list_table_for_rvR Documentation

Filter a MISSING_LIST_TABLE for rows matching the variable rv

Description

In MISSING_LIST_TABLE, a column resp_vars may be specified. If so, and if, for a row, this column is not empty, then that row only affects the one variable specified in that cell

Usage

util_filter_missing_list_table_for_rv(table, rv, rv2 = rv)

Arguments

table

cause_label_df a data frame with missing codes and optionally resp_vars. It also comprises labels and optionally an interpretation column with AAPOR codes. Must already cover the variable rv, i.e., item level metadata is not checked to find the suitable missing table for rv.

rv

variable the response variable to filter the missing list for specified by a label.

rv2

variable the response variable to filter the missing list for specified by a VAR_NAMES-name.

Value

data.frame the row-wise bound data frames as one data frame


dataquieR documentation built on July 26, 2023, 6:10 p.m.