keyed: Explicit Key Assumptions for Flat-File Data

Helps make implicit data assumptions explicit by attaching keys to flat-file data that error when those assumptions are violated. Designed for CSV-first workflows without database infrastructure or version control. Provides key definition, assumption checks, join diagnostics, and automatic drift detection via watched data frames that snapshot before each transformation and report cell-level changes.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: cli, dplyr (≥ 1.0.0), digest, lifecycle (≥ 1.0.0), pillar, rlang (≥ 1.0.0), tibble, vctrs (≥ 0.5.0)
Suggests: joinspy, knitr, rmarkdown, testthat (≥ 3.0.0), uuid
Published: 2026-02-25
DOI: 10.32614/CRAN.package.keyed
Author: Gilles Colling ORCID iD [aut, cre, cph]
Maintainer: Gilles Colling <gilles.colling051 at gmail.com>
BugReports: https://github.com/gcol33/keyed/issues
License: MIT + file LICENSE
URL: https://github.com/gcol33/keyed, https://gillescolling.com/keyed/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: keyed results

Documentation:

Reference manual: keyed.html , keyed.pdf
Vignettes: Design Philosophy (source, R code)
Quick Start (source, R code)

Downloads:

Package source: keyed_0.2.0.tar.gz
Windows binaries: r-devel: keyed_0.2.0.zip, r-release: keyed_0.1.3.zip, r-oldrel: keyed_0.1.3.zip
macOS binaries: r-release (arm64): keyed_0.2.0.tgz, r-oldrel (arm64): keyed_0.2.0.tgz, r-release (x86_64): keyed_0.2.0.tgz, r-oldrel (x86_64): keyed_0.2.0.tgz
Old sources: keyed archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=keyed to link to this page.