insightsengineering / insightsengineering/teal.gallery

[Feature Request]: Use `cad##` datasets exported in `random.cdisc.data` for faster local apps

Open
#229 1 comment 1 reaction 0 assignees View on GitHub
core enhancement
Dominant language
R
Stars
40
Forks
13
Avg merge
1d 19h
Merged PRs (30d)
2

Description

### Feature description

The datasets in most if not all the teal.gallery apps generate random cdisc data that makes running them locally very slow.

We could use the already exported cached datsets (`cad##`) instead of `rad##(ADSL, seed = 1)`.

https://insightsengineering.github.io/random.cdisc.data/main/reference/index.html#cached-datasets

### 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

Research direction

Start by locating where the teal.gallery apps generate random CDISC data with rad##(ADSL, seed = 1). Review the random.cdisc.data cached-datasets reference for the cad## datasets, then identify the affected apps and replace the local data source. Done means the apps use the cached datasets and run faster locally.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.