rmoriebricklayer: Reproducible Data Capsules with Provenance and Fallback

For analyzing published and unpublished tables, from open-data portals and statistical agencies to a researcher's own data, so that a result can be traced to the exact data behind it and checked again afterwards. A 'capsule' records where each source came from, its Secure Hash Algorithm 256 ('SHA-256') hash, the schema it should have and an archived copy in the Internet Archive 'Wayback Machine' ('web.archive.org'); sources are found through the Comprehensive Knowledge Archive Network ('CKAN', 'ckan.org'). Run again, a capsule says whether each source still matches and, if it does not, how its distribution moved (Kolmogorov-Smirnov, chi-square, population stability index and 'Benford' first-digit screens), and when a source cannot be reached it runs on schema-driven synthetic data that is marked as such. Capsules can be signed with keyed hashes ('HMAC-SHA-256', RFC 2104) or with the post-quantum signature standards 'ML-DSA' (FIPS 204), 'SLH-DSA' (FIPS 205) and 'XMSS' (RFC 8391), implemented from the standards with no system cryptography library and checked against 'OpenSSL' 3.5 and the known-answer vectors of 'NIST' (the US National Institute of Standards and Technology). For the administrative tables these capsules usually hold, it computes period-over-period change with exact intervals, trends (Mann-Kendall with 'Theil-Sen' slopes), rates, and the bounds that rounding and suppression in a release imply; small-area rates with the empirical Bayes shrinkage of Clayton and 'Kaldor' (1987) DOI 10.2307/2532003; self-exciting event series as 'Hawkes' processes; custodial populations by stock-and-flow measures; and the burden of air pollution from dispersion to attributable deaths.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: graphics, grDevices, methods, parallel, stats, tools, utils
Suggests: withr, bslib (≥ 0.9.0), digest, jsonlite, knitr, later, MASS, openssl, pkgdown, rmarkdown, sf, promises, shiny, stringi, survival, survey, testthat (≥ 3.0.0)
Published: 2026-10-21
DOI: 10.32614/CRAN.package.rmoriebricklayer
Author: Vansh Singh Ruhela ORCID iD [aut, cre]
Maintainer: Vansh Singh Ruhela <vsruhela at proton.me>
License: AGPL-3
Copyright: The bundled excerpts of published statistics in inst/extdata belong to their publishers; see inst/COPYRIGHTS.
rmoriebricklayer copyright details
NeedsCompilation: yes
SystemRequirements: C++17, libcurl (deb: libcurl4-openssl-dev, rpm: libcurl-devel, brew: curl), zlib (deb: zlib1g-dev, rpm: zlib-devel).
Language: en-US
Citation: rmoriebricklayer citation info
Materials: README, NEWS
CRAN checks: rmoriebricklayer results

Documentation:

Reference manual: rmoriebricklayer.html , rmoriebricklayer.pdf
Vignettes: Applied analyses: justice, health, environment and rescue (source, R code)
Capsules and provenance (source, R code)
Describing data and published tables (source, R code)
Integrity, signatures and cryptography (source, R code)
Survey, causal and statistical methods (source, R code)

Downloads:

Package source: rmoriebricklayer_1.0.0.tar.gz
Windows binaries: r-devel: rmoriebricklayer_0.5.1.zip, r-release: rmoriebricklayer_0.5.1.zip, r-oldrel: rmoriebricklayer_0.5.1.zip
macOS binaries: r-release (arm64): rmoriebricklayer_0.5.1.tgz, r-oldrel (arm64): rmoriebricklayer_0.5.1.tgz, r-release (x86_64): rmoriebricklayer_0.5.1.tgz, r-oldrel (x86_64): rmoriebricklayer_0.5.1.tgz
Old sources: rmoriebricklayer archive

Reverse dependencies:

Reverse imports: rmoriedata
Reverse linking to: rmoriedata

Linking:

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