I am attempting to generate frequency tables. For one survey question, it asked to "Choose two options" out of 10 options. And the data is now store in one column, with separate by comma as can see below. I am hoping for frequency table to look at these responses all together with percentage equal 100% but am having issues with the comma. Thank you for your help.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str5 jobdesc "2" "6,7" "1,5" "5,6" "3,6" "1,5" "6,10" "1,6" "2,7" "1,4" "2,4" "5,6" "5,6" "5,6" "1" "1,3" "1,4" "1,6" "1,4" "1,4" "5,7" "1,5" "1" "4,5" "5,6" "5,7" "1,6" "1,5" "1,3" "1,8" "1,5" "1,2" "1,10" "10,11" "1,3" "1,6" "4" "1,5" "1" "3,7" "1,6" "5,6" "1,5" "1,2" "1,6" "5,6" "1,6" "1,5" "1,5" "1,7" "1,6" "3,9" "2,3" "1,5" "5" "4,5" "2,3" "5" "1,6" "4,5" "2" "6,7" "2,6" "2,7" "1,5" "5,9" "1" "5" "1,5" "3,6" "1,2" "1,6" "1,6" "3,6" "5" "2,3" "1,5" "2,3" "4" "5,8" "2,3" "1,5" "1,5" "1,3" "1,5" "1,7" "3,5" "5" "3,6" "3,7" "4,6" "4,5" "4,7" "1,5" "1,5" "1,5" "2,5" "3" "5" "1" end

Comment