Skip to content

[Feature Request]: Data filtering within analyses (rather than globally) #3190

@astefan1

Description

@astefan1

Description

It would be great if data filtering wasn't just possible across all analyses in a JASP file, but also within analyses. For example, this could be integrated into the R code feature where filtering can be applied to the data argument.

Purpose

This would make it possible to, for example, run robustness checks (what happens with my analysis results if outliers are excluded etc) in a single JASP file, or post-hoc tests that require filtering data

Use-case

No response

Is your feature request related to a problem?

I'm working on a project where post-hoc tests for a contingency table analysis were preregistered. These require filtering the data, meaning that if I want to keep my analyses as reproducible as possible (i.e., make filtering clear), I need as many JASP files as post-hoc tests - which doesn't seem like an elegant solution

Is your feature request related to a JASP module?

No response

Describe the solution you would like

Include the option to filter data in the R code chunk on the top of the analysis

Describe alternatives that you have considered

Change the filtering process, so that it asks you if you want to apply it globally or to a specific analysis (but this seems like it requires much more work)

Additional context

This might already be possible, but there is no guidance on how to use the data argument in the R functions, and the argument doesn't change in response to filtering. So, if this is already possible, some guidance would be great!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions