I am receiving an error when using make_choose_all_table()
from the tidyREDCap
package and I'm hoping someone can help me understand what it means. When I export my data from REDCap using REDCapR
and then run the code make_choose_all_table()
the error below it pops up. The "boo_do_co_no" is my checkbox variable that I am trying to make a table with.
What does the error mean and how do I fix it?
library(REDCapR)
data <- redcap_read()
library(tidyREDCap)
make_choose_all_table(data, "boo_do_co_no")
Error: Result 1 must be a single string, not a character vector of length 0