IR page: allow researchers to download filtered responses
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 12
- Forks
- 21
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 5
Description
TL;DR
Our Individual Responses table allows researchers to filter the data. We should allow researchers to download the responses from the filtered table.
Summary
Researchers can filter the individual responses based on a number of columns/values (e.g. date, exit frame status, IDs), including researcher-defined fields (payment status, session status, star). To get the most out of this feature, we should also allow researchers to download all the data from the filtered table results.
This feature was requested in #1106, specifically the ability to download all results based on researcher-defined completion status.
Implementation notes
The table is generated on the front end, so the easiest way to do this would be to add a 'Download these results' button near the table on the IR page itself (vs the ability to switch to the 'All Responses' tab and reference the IR table there).
Currently on the IR page, we allow researchers to download individual response data in CSV/JSON formats and with options for including/excluding participant fields. So again, the easiest option would be to just re-use these same options for the 'Download these results' button. We could consider moving the existing "Download Response" card and/or figuring out how to use the same UI for individual and table downloads.
Contributor guide
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 at the IR page's filtered Individual Responses table and inspect the existing Download Response card, including its CSV/JSON and participant-field options. Add a “Download these results” action that uses the filtered table data, and confirm that downloads contain the selected responses with the existing format and field options.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100