pharmaverse / pharmaverse/rtables
Add column counts as default, independently from table showing it
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 260
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
rtables result data frames do not report column N’s. These numbers are available from the TableTree object but may not be straightforward to retrieve. This is NOT considered as a critical feature to have, because whenever a frequency is calculated, n and % are often (if not always) reported in the rtables result data frame, and column N could then be calculated (i.e. if n and % are correct, N should be correct). However, it would be nice to explore ways to get this column N into the result data frame of rtables
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 by tracing how the TableTree object stores column N values and how those values are converted into the rtables result data frame. Done means the result data frame reports column counts independently of whether the table displays them, with existing frequency-derived n and % behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100