This function is for internal use within
the computeSummaryStatisticsTable
function.
postProcessVarFlag(summaryTable, varFlag)
Summary table with
Summary table as created internally in
computeSummaryStatisticsTable
.
Character vector, subset of var
with variable(s)
of type 'flag' (with 'Y', 'N' or '' for empty/non specified value).
Only the counts for records flagged (with 'Y') are retained.
Laure Cougnaud
This includes:
converting the records from a flag variable
for the 'variableGroup' variable
from 'Y' to NA_character_
filter records from a flag variable with variableGroup set as 'N'