insightsengineering / insightsengineering/teal.slice
[Feature Request]: Display dataset labels not names in Encoding and Filter panel
- Dominant language
- R
- Stars
- 12
- Forks
- 7
- Avg merge
- 3d 31m
- Merged PRs (30d)
- 1
Description
### Feature description
I'd like the label of a dataset rather than its name (e.g. "Adverse Events" rather than "ADAE") to be displayed in the encodings and filter panel. While there is a `label` parameter in the `cdisc_dataset()` function setting it does not have the desired effect. Right now I'm abusing the `name` parameter for this purpose (see example below) but this does not work for ADSL and also the name cannot contain spaces.
```r
cdisc_dataset(
"AdverseEvents",
adae,
keys = get_cdisc_keys("ADAE"),
code = paste(deparse(adae_code), collapse = "\n")
)
```
### 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
Assessment
This issue has not been assessed yet.