-
Notifications
You must be signed in to change notification settings - Fork 10
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: ?global? object for spec file #44
Comments
Possible idea: Attach metadata to object in 'xportr' calls |
Yes 🤦 I did not notice there was a separate issue for this part. Thanks for pointing it out! |
Yesss! This is a great idea. My question is, Does it make the life of the end user easier if we ask them to set all the metadata at once? Of course, we can make the |
@elimillera Since we have the people-power right now - I added this to the Milestone for xportr 3.0 release |
@atorus-research/xportr-development-team Hi all, I spruced up this issue a bit. @EeethB hoping you are still wanting to tackle this one! :) |
Merge remote-tracking branch 'origin/44-pipe-metadata' into 84_xportr_deep_dive_vignette # Conflicts: # NEWS.md
Closes #44 global object for spec file
Background
IS there a way to make my
adds_spec
file into some type of object that thexportr_
functions can access without have to call it over and over again.Have:
want:
I've seen you all do some skulduggery awesomeness with R so wondering if this is something we can set up for users or show users how to do in an articel. @elimillera
Proposal
See #16 (comment)
We discussed folding in an additional aspect with this issue: reducing duplication of arguments in a pipeline. Right now, the metadata and possibly the domain must be specified at every step of a pipeline. The goal I have in mind is to be able to run something like this:
adsl_data %>%
xportr_set(metadata_obj, optional_domain) %>%
xportr_type() %>%
xportr_length() %>%
...etc.`
Questions
Definition of Done
xportr_
functions can be used without this functionThe text was updated successfully, but these errors were encountered: