datetoiso
1.2.1Convert and Impute Dates to ISO 8601 Format and Reconcile Data Sets
Overview
Provides tools for converting and imputing date values to the ISO 8601 standard format and for reconciling differences between two versions of a data set. The package automatically detects date patterns within data frame columns and converts them to consistent ISO-formatted dates, with optional imputation of missing day or month components based on user-defined rules. It also includes functionality to identify inserted, deleted, and updated records, as well as column- and value-level changes, when comparing old and new versions of a data frame. Only one date format may be applied within a single column.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 9 max
- Test cases
- 111 / 2.44 per code line
Test coverage
Line coverage
98%
Expression
96.8%
Tests / Examples
98.3% / 63% ex
Functions
42 5 exported
Complexity
1.6 avg / 9 max
Call network
42 nodes / 75 edges
Call graph
Open call graph →Lowest coverage
42 functions| Function | Cyclo | Coverage |
|---|---|---|
| get_same_class | 1 | 67% |
| impute_date exp | 3 | 83% |
| compare_rows_with_same_index | 9 | 95% |
| reconcile_without_index | 6 | 97% |
| clean_date exp | 1 | 100% |
| dfiso exp | 1 | 100% |
People & History
6 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2023-02-28
- Total releases
- 6 / 3 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 29 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet