mattroumaya / mattroumaya/surveymonkey
How to best handle multiple choice matrix Qs
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 45
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
E.g. survey 188183011, page 3, question 1. I can try addressing the same way we treat question_type == "multiple choice", we can add the condition question_subtype == "multi".
I'm less clear what should go in the answer cell. Say you it's a survey about which foods you eat for which meals and you ultimately have the combined column header "dinner - cereal" created from a multiple choice matrix of column = meal and row = food. Should the cell value be cereal? Dinner? Right now it's the column, so dinner.
I'll implement that and leave this issue open. Related issues:
- Is it friendlier to return a list-column for multiple choice questions? I think it's more elegant but less manageable for the lay-user.
- Why is the function for parsing multiple-choice columns into a single table,
tntpr::check_all_recode(), performing weirdly here?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the multiple-choice matrix case from Survey 188183011, page 3, question 1, and inspect the existing question_type == "multiple choice" handling. Read tntpr::check_all_recode() and determine the intended answer-cell value for combined headers such as dinner - cereal; done means the matrix is handled consistently and the output convention is agreed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- api, data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100