openpharma / openpharma/rbmi

Better support for imputed dataframe export

Open
#511 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
R
Stars
21
Forks
12
PR merge metrics
No merged PRs in 30d

Description

(Note that this is kind of tangentially related to #494)

When creating the so called ADMI dataset (a CDISC style version of the imputed datasets) you often need to create flags to indicate which variables have been imputed and what imputation method was used to create them. Currently the only real way of doing this is to use (abuse?) rbmi::delta_template() and merge this information back on.

Though I guess alternatively this functionality might sit better with the rbmiUtils package, though on the other hand if we are going to provide direct support for dataframe inputs to analyse() (#494) then perhaps we should provide better support for creating said dataframes in the first place ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading rbmi::delta_template() and the related issue #494 about dataframe inputs to analyse(). Clarify whether ADMI flag creation belongs in rbmi or rbmiUtils, then define the supported dataframe/export behavior and tests needed to verify imputation-variable and method flags.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.