Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: derive_var_shift() #944

Closed
yangc71 opened this issue Feb 15, 2022 · 0 comments · Fixed by #990
Closed

Feature Request: derive_var_shift() #944

yangc71 opened this issue Feb 15, 2022 · 0 comments · Fixed by #990
Assignees
Labels
enhancement New feature or request programming

Comments

@yangc71
Copy link
Contributor

yangc71 commented Feb 15, 2022

Feature Idea

derive_vars_shift() should derive a variable containing character shift in values depending on the defined pairing for the group (e.g. 'NORMAL TO HIGH'). Can also include deriving a numeric shift variable. There must be a one-to-one relationship between the character shift and the numeric shift variable. UPDATE: handle corresponding numeric variables with mutate() instead.

Related discussion #552, ADLB workflow doc

Relevant Input

BDS structure dataset (e.g. ADLB) with variables used to derive shift values present.

Relevant Output

Dataset with shift variable added.

Reproducible Example/Pseudo Code

draft example call: derive_vars_shift(dataset = ADLB, from_var = BNRIND, to_var = ANRIND, new_var = SHIFT1, ...)

@yangc71 yangc71 added enhancement New feature or request programming ADLB labels Feb 15, 2022
@yangc71 yangc71 self-assigned this Feb 15, 2022
@yangc71 yangc71 changed the title Feature Request: derive_vars_shift() Feature Request: derive_var_shift() Feb 26, 2022
@yangc71 yangc71 mentioned this issue Feb 28, 2022
13 tasks
@yangc71 yangc71 linked a pull request Feb 28, 2022 that will close this issue
13 tasks
thomas-neitmann pushed a commit that referenced this issue Mar 2, 2022
Co-authored-by: Yang, Annie {MDBA~South San Francisco} <yang.chenyue@gene.com>
@bms63 bms63 mentioned this issue Mar 21, 2022
13 tasks
@bms63 bms63 closed this as completed May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request programming
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants