editrules
2.9.6Parsing, Applying, and Manipulating Data Cleaning Rules
Overview
Please note: active development has moved to packages 'validate' and 'errorlocate'. Facilitates reading and manipulating (multivariate) data restrictions (edit rules) on numerical and categorical data. Rules can be defined with common R syntax and parsed to an internal (matrix-like format). Rules can be manipulated with variable elimination and value substitution methods, allowing for feasibility checks and more. Data can be tested against the rules and erroneous fields can be found based on Fellegi and Holt's generalized principle. Rules dependencies can be visualized with using the 'igraph' package.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 89%
- Return-value docs
- 81%
- References docs
- 8%
Downloads
Repository
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/data-cleaning/editrules on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 2.0 median / 26 max
- Test cases
- 112 / 0.27 per code line
Test coverage
Line coverage
0%
Expression
0.0%
Tests / Examples
0.2% / 74% ex
Functions
224 48 exported
Complexity
3.2 avg / 26 max
Call network
224 nodes / 425 edges
Call graph
Open call graph →Lowest coverage
224 functions| Function | Cyclo | Coverage |
|---|---|---|
| adjacency exp | 1 | 0% |
| as.editmatrix exp | 6 | 0% |
| as.editset exp | 5 | 0% |
| as.lp.mip exp | 3 | 0% |
| as.mip exp | 6 | 0% |
| backtracker exp | 15 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| edits | data.frame | 9 × 3 | – |
People & History
33 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 2.9.6Latest
- RR 4.5.0 released · 2025-04-11
- 2.9.52024-05-04 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 2.9.32018-07-01 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 2.9.02015-06-11 · diff ↗
- RR 3.2.0 released · 2015-04-16
Show 35 earlier events
- RR 3.1.0 released · 2014-04-10
- 2.7.22013-07-03 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 2.72013-03-01 · diff ↗
- 2.5-02012-06-05 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 2.2-02012-02-23 · diff ↗
- 2.1-22012-02-08 · diff ↗
- 2.0-32012-01-12 · diff ↗
- 2.0-12011-12-08 · diff ↗
- 2.0-02011-11-30 · diff ↗
- 1.9-02011-11-17 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 1.8-12011-10-27 · diff ↗
- 1.8-02011-10-23 · diff ↗
- 1.7-02011-10-12 · diff ↗
- 1.6-02011-10-06 · diff ↗
- 1.5-22011-09-26 · diff ↗
- 1.5-12011-09-25 · diff ↗
- 1.5-02011-09-24 · diff ↗
- 1.0-22011-08-10 · diff ↗
- 1.0-12011-08-09 · diff ↗
- 1.0-02011-08-01 · diff ↗
- 0.9-02011-07-23 · diff ↗
- 0.82011-07-06 · diff ↗
- 0.7-12011-06-29 · diff ↗
- 0.72011-06-25 · diff ↗
- 0.62011-05-11 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 0.52011-04-01 · diff ↗
- 0.4-12011-03-12 · diff ↗
- 0.42011-02-26 · diff ↗
- 0.22011-02-08 · diff ↗
- 0.1-12011-01-31
- RR 2.12.0 released · 2010-10-15
Package metadata
- First published
- 2011-01-31
- Total releases
- 33 / 15 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.12.0
- Bundled data
- 0.3 KB / 1 file
- Download size
- 149 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet