-
Notifications
You must be signed in to change notification settings - Fork 53
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
derive_vars_transposed
: extra variables are treated as by_vars
#2325
Comments
Hi @kaz462! I came across the example for
Here, the variable
So do you think it's a good idea to add an additional argument ( |
Hi @gg106046 , thanks for your example! I like this idea of adding |
Hey, If I'm able I'd love to contribute to this issue. |
Hi @ProfessorP-beep! @gg106046 is working on this, but it would be great for you to help review the PR and try out the update. Would you like to be added to the admiral community team - periodic tags for good issues to work on. Also have you completed the #1839 ? Great way to get familiar with our processes |
@bms63 Absolutely! and I haven't completed the dummy example yet. I can work on it today / tomorrow! Thanks |
Just finished the dummy example. Just need permissions to push to dummy branch |
@ProfessorP-beep added you to repo and to the community team |
Hi @gg106046 , do you have bandwidth to implement |
@gg106046 still on track for EOW? |
Yes! |
…e_vars_atc()` (#2443) * #2325 Added `id_vars` to `derive_vars_transposed()` and `derive_vars_atc()` * #2325 Updated NEWS.md * Update NEWS.md Co-authored-by: Ben Straub <ben.x.straub@gsk.com> * #2325 Updated the numbering convention in the test file * Update R/derive_vars_transposed.R Co-authored-by: Kangjie Zhang <47867131+kaz462@users.noreply.github.com> --------- Co-authored-by: Jerry Johnson <jerry@gmail.com> Co-authored-by: Ben Straub <ben.x.straub@gsk.com> Co-authored-by: Kangjie Zhang <47867131+kaz462@users.noreply.github.com>
Background Information
In
derive_vars_transposed
, ifdataset_merge
contains extra variables that not specified inby_vars/key_var/value_var
, they will be treated as grouping variables.Example:
test
is a redundant variable that differs withinUSUBJID
andFAREFID
Expected results (need pre-processing to remove the unused variables):
Definition of Done
add
id_cols
toderive_vars_transposed
The text was updated successfully, but these errors were encountered: