insightsengineering / insightsengineering/teal.modules.general

[Question]: Should tables include the list of selected data points in the reproducible code?

Open
#577 4 comments 0 reactions 0 assignees View on GitHub
core question
Dominant language
R
Stars
16
Forks
23
PR merge metrics
No merged PRs in 30d

Description

### What is your question?

In some of the modules, the user can select data points on the plot and filter/"get additional" data.

Should these selections be available via `show-r-code`?

#### How would it look like?

**1st example**: A particular example is on the `scatterplot` module, where the table is empty until there is a selection.

Print table with the row(s) being selected/brushed.

![image](https://github.com/insightsengineering/teal.modules.general/assets/211358/0525eb2f-4317-4f10-a1ee-fd1781bc6393)

**2nd example**: Outliers module, same logic with the difference that the initial table has content

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct.

### Contribution Guidelines

- [X] I agree to follow this project's Contribution Guidelines.

### Security Policy

- [X] I agree to follow this project's Security Policy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.