Track D BYOD: Bring Your Own Data
Track D is built around a realistic accounting case study (NSO), but the skills are meant to transfer.
This BYOD (Bring Your Own Data) pipeline lets you take real exports (from a bookkeeping/accounting system) and convert them into the same Track D dataset contract used in the workbook. In the commands below, replace <BYOD_DIR> with your project folder (for example: byod/gnucash_demo).
What “BYOD” means in Track D
Think of BYOD as a boring, reliable 3-step pipeline:
Export data from a real system (or a CSV you already have).
Normalize it into Track D’s canonical tables (
normalized/).Validate + analyze the normalized tables using the Track D workflow.
The core idea is: separate the messy export from the clean analysis tables.
Quick start (template)
If an option name ever changes, the source of truth is always the CLI help:
pystatsv1 trackd byod --helppystatsv1 trackd byod init --help
Create a BYOD project folder (this writes header-only templates under tables/):
pystatsv1 trackd byod init --dest <BYOD_DIR> --profile core_gl
Edit <BYOD_DIR>/config.toml to choose an adapter (examples):
adapter = "passthrough"— yourtables/files are already in Track D’s canonical formatadapter = "core_gl"— generic GL export adapter (varies by source)adapter = "gnucash_gl"— GnuCash “Export Transactions to CSV” (complex layout)
Then normalize:
pystatsv1 trackd byod normalize --project <BYOD_DIR>
# (optional) override profile explicitly
pystatsv1 trackd byod normalize --project <BYOD_DIR> --profile core_gl
You should now have:
<BYOD_DIR>/normalized/chart_of_accounts.csv<BYOD_DIR>/normalized/gl_journal.csv
Validate the normalized tables:
pystatsv1 trackd validate --datadir <BYOD_DIR>/normalized --profile core_gl
PyPI-only setup (no Git required)
If you just want to use Track D tools (you don’t need to clone the repo):
Create a virtual environment.
Install PyStatsV1 from PyPI.
Use the CLI + the workbook downloads in this section.
python -m venv .venv
# Windows (Git Bash)
source .venv/Scripts/activate
# macOS/Linux
# source .venv/bin/activate
python -m pip install -U pip
pip install "pystatsv1[workbook]"
(Optional) sanity check:
pystatsv1 doctor
Need a reminder of commands?
pystatsv1 trackd byod --help
Next: choose a tutorial
Where this fits in the workbook
If you’re new to Track D, start with Track D Student Edition (Workbook Landing).
If you’re ready to apply the workflow to your own data, see Track D: Apply what you learned to your data.
This BYOD hub is the “how do I get from my export to Track D tables?” bridge.