Get sum of a questionnaire if questionnaire exists

sum_quest(qn, df)

Arguments

qn

Name of the questionnaire

df

Data frame containing all the column names of the questionnaire data

Value

Sum of all the items of that questionnaire