make_choose_all_table function

Count The Responses to a Choose All That Apply Question

Count The Responses to a Choose All That Apply Question

This will tally the number of responses on a choose all that apply question. This function extracts the option name from the variable labels. So the data set needs to be labeled. See the Make a 'Choose All' Table vignette for help.

make_choose_all_table(df, variable)

Arguments

  • df: The name of the data set (it needs labels)
  • variable: The name of the REDCap variable

Returns

A variable's response label without the choose all the question

  • Maintainer: Raymond Balise
  • License: MIT + file LICENSE
  • Last published: 2024-09-16