HeRAMS_table_subset: HeRAMS table subset

HeRAMS_table_subsetR Documentation

HeRAMS table subset

Description

Internal function used for subsetting the HeRAMS table and track record.

Usage

HeRAMS_table_subset(
  tibT,
  tibC,
  varCol,
  stopQuest = TRUE,
  codeName = NULL,
  stopLst = NULL,
  tempDir,
  barriers,
  codeColumns,
  impairmentValues,
  partners,
  partnershipValues
)

Arguments

tibT

tibble object; HeRAMS table with labels.

tibC

tibble object; HeRAMS table with codes.

varCol

character; column name for filtering.

stopQuest

logical; is it possible that the questionnaire is stopped at the specified column ?

codeName

character; name of the column as it its indicated in the column code and stop lists.

stopLst

list; list with the values for different attributes that stops the questionnaire.

tempDir

character; temporary folder.

barriers

logical; should the filtering process take into account the causes/barriers if there is an impairment (e.g., service partially available)

partnershipValues

character; values that indicate that there is partner support. Has to be compatible with regular expression (regex).

impairValues

character; values that indicate that there is an impairment (e.g., service partially available). Has to be compatible with regular expression (regex).

Value

a list of two tibble objects; The updated tibbles, the one with labels and the other one with codes.


ptimoner/inAccMod documentation built on Jan. 27, 2025, 9:34 a.m.