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

DataSet.filters() / filter variable concept #1085

Closed
alextanski opened this issue Jul 30, 2018 · 1 comment
Closed

DataSet.filters() / filter variable concept #1085

alextanski opened this issue Jul 30, 2018 · 1 comment

Comments

@alextanski
Copy link
Contributor

alextanski commented Jul 30, 2018

We would want to have the option to declare specific "filter" variables, which would simply have one category (1 = "active" or something similar). These would get the recoded_filter property: Currently, such variables are only generated by DataSet.from_batch(additions={'full', 'filters'}) (using the inner private _manifest_filters() function). It would be good if we could have a proper method that generates such a variable from an arbitrary complex logic so it could be part of a Batch definition's variable list / could be used by the Batch class vice-versa, maybe similar to Batch.add_filter('FILTER_VAR_NAME').

@AndersFreund: I am adding you as we talked about this regarding the YG / Crunch use case. Your ideas can be collected in this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants