validate
validate copied to clipboard
Define rule and metadata together
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
Thanks for the suggestion.