Some columns may not naturally be present after parsing the questions, e.g., other_text may be missing if there were no "other" options offered. Force those to be present (NA values) to keep subsequent code running.
In trying out my current working code on random surveys, I surfaced a need for col_text and other_text so added this below. Check to see if other shortcomings could need to be addressed.
Some columns may not naturally be present after parsing the questions, e.g.,
other_text
may be missing if there were no "other" options offered. Force those to be present (NA values) to keep subsequent code running.In trying out my current working code on random surveys, I surfaced a need for
col_text
andother_text
so added this below. Check to see if other shortcomings could need to be addressed.