data-cleaning / errorlocate

Find and replace erroneous fields in data using validation rules
http://data-cleaning.github.io/errorlocate/
21 stars 3 forks source link

feat: support `validate::in_range` #33

Closed edwindj closed 2 years ago

edwindj commented 3 years ago

validate version 1.0 introduced some new commands to facilitate validation of records. Some of those constructs can (and should) be translated into linear constraints in errorlocate.

in_range can be translated into two linear boundary conditions.

peterlevy commented 2 years ago

Almost all my rules are expressed using in_range so this would be really useful. Any idea when you might do this, or should I rewrite my rules as separate min and max rules? I love the package.

edwindj commented 2 years ago

Thanks for you reminder :-). I will add this today in the github repo.

But it will take two weeks before I will release it on CRAN, since I released a version last week and want to test the other features I have been adding.

Hope that won't block your working flow!

Best,

Edwin

edwindj commented 2 years ago

in_range support is merged into the main branch