Package for rule-based validations & actions?

Hello,

I am searching a package to automatically validate and correct data.frames.

Before the check is started, I want to define rules together with the desired actions:
"When length of text in column 'A' < 2, then add a leading zero"
"When column 'B' is empty, then delete this row"
"When in column 'C' the value "x" is found more often then "y", then stop"
...
Best case: the rules can be imported from a file.

I came across the package "validate" (and similar ones), which seems to fullfill my validation requirements quite well, but doesn't cover the actions. Are there any?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.