I have a survey dataset where the researcher asked a multiple response question regarding skin conditions. The answer looks like this (see below). I want to separate out the skin conditions by type and then calculate the frequency count for each skin condition. Your assistance will be appreciated.
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str86 question1 "Dry lips" "Acne" "Skin Cancer" "Sun spots/Moles" "Skin Cancer, Allergic Dermatitis" "" "" "" "" "Skin Cancer" "" "Sun spots/Moles" "" "Skin Cancer, Sun spots/Moles" "Psoriasis" "" "Lupus/other auto-immune skin conditions" "" "Sun spots/Moles, Skin tags" "Acne" "Acne" "" "Skin Cancer" "" "Skin Cancer" "" "Skin Cancer" "Rosacea, Skin Cancer" "" "Skin Cancer" "Eczema" "Psoriasis" "Skin Cancer" "Skin Cancer, Psoriasis" "Sun spots/Moles" "" "Skin Cancer" "Sun spots/Moles, Seborrheic dermatitis" "Skin Cancer" "Skin Cancer" "" "Lupus/other auto-immune skin conditions" "Sun spots/Moles" "Other" "Fungus" "Skin Cancer" "Sun spots/Moles" "Skin Cancer" "Eczema" "Sour ??? (illegible)" "Allergic Dermatitis" "Other" "Viral Warts, Sun spots/Moles" "Sun spots/Moles" "None" "Sun spots/Moles, Porokeratosis" "" "Other: Pre-cancer" "Acne, Other" "Viral Warts" "" "Annual skin, nails peeling" "Other: ??? (illegible)" "Non-healing wound" "" "Skin Cancer" "Skin Cancer, Sun spots/Moles" "Hair loss" "Psoriasis" "" "Eczema, Psoriasis" "" "" "Cyst" "Skin Cancer, Sun spots/Moles" "" "" "Lupus/other auto-immune skin conditions" "Skin Cancer" "Sun spots/Moles, Other" "Skin Cancer" "Skin Cancer" "Sun spots/Moles" "Skin Cancer" "Hair loss" "Skin Cancer, Check-up" "Acne" "Skin Cancer" "Sun spots/Moles" "Eczema" "Skin Cancer, Sun spots/Moles" "Skin Cancer" "Vitiligo or other pigment conditions" "Sun spots/Moles" "Actinic keratoses" "Scalp pain/Itching" "Hair loss, Shingles" "Rosacea" "Skin Cancer (CTCL)" "Yearly follow-up (carcinoma)" end
Comment