CRAN releases open-source R tool datagrade 0.3.0 with delivery comparison
The release on CRAN compares two deliveries under the same measurement rules and reports changes to columns, measure availability, and malformed dates separately.
The comparison arrives on CRAN
R package datagrade reached CRAN as version 0.3.0 on November 28, 2026. The published source archive records 00:30:02 UTC, or 03:30:02 in Istanbul. Its new dg_compare function examines two deliveries of the same dataset under shared data quality rules. CRANberries independently produced a file-level comparison with version 0.2.0. We checked the source archives and found the added R/compare.R implementation, help page, and tests. The tool accepts two tables or two previously generated reports, allowing a team to preserve a baseline and compare it when the next delivery arrives. The developer previewed the feature on November 25 and said the CRAN distribution was still pending.
Both deliveries use the same criteria
For two tables, the comparison applies the same dg_spec and settings to both. Consider an October orders export and its November successor. A team might expect order numbers to be present and dates to follow a declared format. Missing value rates can change even when every column name remains stable. The report gives the old value, new value, change, and status for each measure. It also shows row counts, duplicate rates, missing values in shared columns, and columns added, dropped, or assigned a different type. The function warns if two existing reports used different specifications or settings.
Availability carries its own status
The ISO/IEC 25012 model referenced by the package covers attributes such as accuracy, completeness, consistency, credibility, and currentness. Some measurements come from a table alone. Others depend on reference values or expectations supplied by the analyst. If a measure is available for only one delivery, the result records it as gained or lost. The default tolerance is one percentage point. A score rising from 93.2 percent to 93.7 percent still has a recorded half-point difference, with its status treated as unchanged. Teams can choose a tolerance that fits the variation in their deliveries.
Date parsing affects two measurements
A populated date cell that fails the dominant date format appears as a format inconsistency. The report lists the value under unparsed_dates. Earlier parsing could turn the value into NA, affecting completeness too. The release also improves recognition of date columns that contain many blank cells. An open service request can legitimately have an empty closure date. A filled closure date in a different format points to a separate input or conversion problem. Using the same package version for both deliveries keeps adjustments to the parser from affecting the delivery comparison.
Where to start reading the report
Row counts and type changes offer a starting point when a delivery differs from its predecessor. Individual measures can then show which attributes warrant closer inspection, while date findings point to specific values. The source and independent archive comparison establish what was shipped. What each score means depends on the declared expectations and how the dataset is used. At review time, some Windows binary channels on the CRAN package page still listed an earlier release. The installed version determines which comparison and date rules actually ran.
Archive photo · Rcragun / Wikimedia Commons ↗ · CC BY-SA 4.0 · Illustration of raw and cleaned survey data, resized and converted to WebP under the same license.
Sources and verification
- Primary sourceCRAN ↗
- Technical documentCRAN kaynak dosyası ↗
- Technical documentdatagrade sürüm notları ↗
- Reporting / cross-checkCRANberries ↗
- BackgroundISO ↗
- BackgroundÖmer Haluk Demirhan ↗
Reader discussion
How would you measure this development's real-world impact?
No comments yet. Be the first to contribute.
Write a comment