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

Improve documentation concerning possible validation rules #85

Closed
matthiasgomolka opened this issue Jun 4, 2018 · 2 comments
Closed
Labels

Comments

@matthiasgomolka
Copy link

Hi, while skimming through the errorlocate reference manual, I stumbled over is_conditional(). Therefore, I tried to use conditional validation rules in validate and it worked like a charm. Unfortunately, I could not find any hints on this in the validate documentation.

Thus, it would be great if there was a list with common examples of what's possible to put into a validation rule. This could be placed in another vignette.

I think I read somewhere that everything is allowed which evaluates to logical (could not find this right now), but being more explicit would foster the work with validate.

PS: Thanks for this great package. I just started to write a package for the exact same purpose at Deutsche Bundesbank when I found yours which perfectly fits my needs.

@markvanderloo
Copy link
Member

Hi,
Thanks for your efforts!

You make a valid point. The background is rather practical: we have focused our writing efforts on the book we publised earlier this year.

validate has been quite thoroughly tested, and you can find example rules and implementations also in this github repo. It has a good README so should be pretty self-explanatory.

Regarding the validate DSL. We are writing a paper on that (and you find information in the book as well). A summary of the syntax can be found by loading validate and the typing ?syntax in the R command line.

@markvanderloo
Copy link
Member

I'll close this, as I think that the cookbook covers it.

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

No branches or pull requests

2 participants