---
title: "tidychain-package"
---

[< Back to Reference](../reference.qmd)

# `tidychain-package()`

tidychain: Excel Forensics and Model Decomposition via 'calcChain' Analysis

## Description

Extract, parse, and analyze Excel ('.xlsx') internals for forensic analysis and model decomposition. Provides a unified 'xlsx_workbook' S7 class with slots for metadata, sheets, formulas, cells, 'calcChain', tables, pivots, charts, and more. Parses 'calcChain.xml' to detect spreadsheet manipulation by identifying discrepancies between formula creation order and current row position. Detects hidden sheets, orphaned strings, and other forensic flags. Inspired by 'Data Colada' spreadsheet forensics work.

## See also

Useful links:

- [https://codeberg.org/usrbinr/tidychain](https://codeberg.org/usrbinr/tidychain)

- Report bugs at [https://codeberg.org/usrbinr/tidychain/issues](https://codeberg.org/usrbinr/tidychain/issues)

