-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
join_key
can set default parent
#215
Conversation
476fa06
to
497435d
Compare
Code Coverage Summary
Diff against main
Results for commit: 86529be Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Test Performance DifferenceAdditional test case details
Results for commit 3270664 ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parent
argument is confusing. Default values differ between two functions and the possibility of having a parent as dataset_1
or dataset_2
is too "freely". I would prefer to limit dataset_1
to be a parent only. So that
join_key("parent", "child", c(id_in_parent = id_in_child), directed = TRUE) # default
join_key("A", "B", c(id_in_A = id_in_B), directed = FALSE)
Co-authored-by: kartikeya kirar <[email protected]> Signed-off-by: André Veríssimo <[email protected]>
Co-authored-by: kartikeya kirar <[email protected]> Co-authored-by: Dawid Kałędkowski <[email protected]> Signed-off-by: André Veríssimo <[email protected]>
Co-authored-by: Aleksander Chlebowski <[email protected]> Signed-off-by: André Veríssimo <[email protected]>
Co-authored-by: Dawid Kałędkowski <[email protected]> Signed-off-by: André Veríssimo <[email protected]>
@averissimo PR looks great. I have re-reviewed it and tested it with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
…efault (#1020) # Pull Request <!--- Replace `#nnn` with your issue link for reference. --> Fixes insightsengineering/teal.slice#502 Part of insightsengineering/teal.slice#503 and insightsengineering/teal.data#215 ### Changes - Corrects test to reflect behavior resulting from `teal.data` default parent setting when creating new `join_key`
Pull Request
Fixes #203
Changes description / TODO while wip
join_key()
and[<-.join_keys
that determines which dataset is parentjoin_keys
join_key
vignette🗨️ Discussion
jk[[i]][[j]] <- key
define a parent relationship?jk[[i]] <- list(j = key, m = key2)
would have to set parents forj
andm
parent
parameter.[[
should be left undirected