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

Feature request: scoped shadow_recode variants #274

Open
antondutoit opened this issue Sep 24, 2020 · 1 comment
Open

Feature request: scoped shadow_recode variants #274

antondutoit opened this issue Sep 24, 2020 · 1 comment
Assignees
Milestone

Comments

@antondutoit
Copy link

Pretty self-explanatory I guess .. ?

These would be terrific when there are large numbers of variables which by their nature will have a particular type of missingness, e.g. a questionnaire with filter questions that lead to other questions being skipped (or, in pseudocode, where Q1 is the filter, IF Q1 = "no", GOTO Q5; ELSE GOTO Q2).

This is related to #249 - a superset of it I suppose.

I also note #262 below about the use of across() instead of scoped variants, which may impinge on this request. But whichever implementation is used, it'd be nice to have a parsimonious way to do this which is baked in. The familiar ~_all, ~_at and _~if makes things easier too.

@njtierney njtierney self-assigned this Sep 24, 2020
@njtierney
Copy link
Owner

Yup, this is a great feature request, and something that I've wanted to implement, but it's great to have someone who will be there to help kick the wheels, so thank you for posting!

It'll be a few weeks as I'm taking a holiday but will return to this.

Thanks for posting the issue

@njtierney njtierney modified the milestones: V0.7.0, V0.8.0 Oct 14, 2022
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