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

Define rule and metadata together #187

Open
thomasggodfrey opened this issue Aug 30, 2024 · 1 comment
Open

Define rule and metadata together #187

thomasggodfrey opened this issue Aug 30, 2024 · 1 comment

Comments

@thomasggodfrey
Copy link

Hello,
Thanks for all your work on the package - it's very interesting; I've not fully integrated it into my workflow but it's a great idea.

I was exploring the documentation, looking for ways to specify rules and metadata within the same function call. I was hoping to find something a bit like this:

rule1 <- create_rule(complete_patsname = !is.na(patsname),
                       name = "complete_patsname", 
                       label  = "Patient surname recorded"
                       description = "patsname Cannot be NULL",
                       reference   = "Upper-GI-Validations-v4.2-Final")`
 
If you ever have time to redevelop the package I think this style of tidy-verse like interface would be a nice addition. You could create rules like this in your R script, join them together and save to YAML/CSV using current functionality.  I think that would make for a nice workflow. Just a suggestion. Thanks
@markvanderloo
Copy link
Member

Thanks for the suggestion.

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

No branches or pull requests

2 participants