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

Get arbitrary vars #46

Merged
merged 6 commits into from
Apr 23, 2024
Merged

Get arbitrary vars #46

merged 6 commits into from
Apr 23, 2024

Conversation

d-callan
Copy link
Contributor

@d-callan d-callan commented Apr 22, 2024

summary of changes:

  1. add a getCollectionVariableNames method so we can get the colnames of variables in a collection
  2. modify getCollectionData so that it accepts a character vector of colnames of variables it should return
  3. add a method to help identify if a collection is 1:1 or 1:n w ancestors, so we know whether vars from this entity are merge-able w others

together these will let the mbio main package users ask for arbitrary variables from different collections by name, and get them back in a single data table

R/methods-Collections.R Show resolved Hide resolved
R/methods-Collections.R Show resolved Hide resolved
@d-callan d-callan merged commit c79944c into main Apr 23, 2024
5 checks passed
@d-callan d-callan deleted the get-arbitrary-vars branch April 23, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants