how i organized my obsidian for phd thesis writing for quantitative data

Published

The vault did not start as a cathedral; it began as a trench. Three months into the literature review, the folder structure on my local drive had collapsed under the weight of CSV exports, R script iterations, and contradictory methodological notes. Standard reference managers handled citations well enough, but they remained silent on the logic connecting a specific regression assumption to a paragraph in Chapter Four. The friction was not in finding files, but in reconstructing the analytical reasoning that linked them. That reconstruction cost weeks of redundant coding and circular reading.

Moving to Obsidian was not a productivity hack; it was a structural necessity. The requirement was a system capable of holding the distinct epistemologies of quantitative work: the rigid syntax of code, the fluid argumentation of prose, and the brittle metadata of variable dictionaries. Most guides focus on the humanities Zettelkasten, linking atomic ideas across literature. Quantitative thesis work demands something different—a topology where a variable definition in a data dictionary links bidirectionally to its operationalization in a script, its assumption check in an appendix, and its interpretation in the discussion section. This article documents the architecture that resulted from that pressure.

The resulting system treats the vault not as a storage locker but as an executable research environment. It separates the immutable raw inputs from the mutable analytical logic, using the canvas plugin for visual model mapping and the dataview plugin for dynamic audit trails. What follows is the specific folder hierarchy, the plugin stack, the note templates, and the daily protocols that allowed the thesis to be written inside the analysis, rather than after it. The goal is not aesthetic minimalism, but epistemic traceability—ensuring that every claim in the final PDF can be traced to a specific line of code, a specific row of data, and a specific theoretical justification without leaving the editor.

how i organized my obsidian for phd thesis writing for quantitative data

The Complete Overview of Vault Architecture for Quantitative Research

The architecture rests on a strict separation of concerns, enforced by folder topology and reinforced by plugin automation. At the root level, the vault splits into five primary directories: 00_Meta, 10_Literature, 20_Data, 30_Analysis, and 40_Manuscript. This numbering enforces a logical workflow order in the file explorer, moving from project governance through evidence acquisition to final output. Crucially, 20_Data contains only raw, read-only inputs and the codebook; it never holds cleaned datasets. Cleaned data lives inside 30_Analysis as versioned outputs of specific scripts, preventing the classic error of analyzing a dataset whose provenance is lost.

Interlinking across these silos is handled by a controlled vocabulary of custom YAML frontmatter keys. Every note—whether a literature card, a script log, or a manuscript section—carries keys such as study_id, construct, variable, method, and status. This transforms the vault into a queryable database. A single Dataview query on the construct: "social_capital" key surfaces the theoretical definition from literature, the survey items from the codebook, the factor analysis script, the reliability coefficients, and the draft discussion paragraph simultaneously. This cross-cutting view is the central nervous system of how i organized my obsidian for phd thesis writing for quantitative data, replacing the frantic tab-switching between Zotero, RStudio, and Word.

Historical Background and Evolution

The evolution of this system mirrors the shift from file-centric to graph-centric knowledge management in computational social science. Early digital workflows relied on rigid directory trees mimicking physical filing cabinets—/Data/Raw, /Data/Clean, /Output/Tables. This worked for linear projects but failed under the iterative cycles of modern quantitative research, where a reviewer’s comment on a robustness check requires branching the analysis pipeline, modifying the cleaning script, and updating the manuscript text simultaneously. The folder tree forces duplication or breakage; the graph structure supports versioned divergence.

Table of Contents

Obsidian entered this ecosystem as a Markdown-first local graph, initially adopted by qualitative researchers for its backlinking capabilities. Its adoption for quantitative work accelerated with the maturation of the plugin API, specifically the arrival of obsidian-git for version control, dataview for metadata querying, and quarto integration for executable documents. The pivotal moment was the realization that R Markdown or Quarto files (.qmd) are valid Markdown files. They can live inside the vault, be edited in Obsidian’s split pane, rendered via the Quarto CLI, and linked to theoretical notes via wikilinks. This collapsed the distance between the statistical engine and the writing environment, a convergence that defines the current best practice for computational reproducibility.

Core Mechanisms: How It Works

The daily mechanism relies on the Project Note pattern. Each major analytical task—e.g., "Main Effects Model," "Mediation Analysis," "Measurement Invariance Testing"—gets a dedicated Project Note in 30_Analysis/Projects. This note acts as the control center. It contains the research question, the hypotheses, a Mermaid.js flowchart of the statistical model, and embedded Dataview tables listing all associated scripts, output files, and manuscript sections. Crucially, it contains a ## Decisions Log section. Every analytic choice (e.g., "Used MLR estimator due to non-normality," "Dropped Item 4 due to cross-loading > .3") is timestamped and tagged with #decision. This log becomes the first draft of the Methodology and Limitations sections, written in real-time rather than reconstructed from memory months later.

Code execution is externalized but tightly coupled. Scripts (R, Python, Stata) reside in 30_Analysis/Scripts organized by project. They are edited in VS Code or RStudio for linting and debugging, but the inputs and outputs are referenced in Obsidian. A custom Templater script generates a new script note with frontmatter linking back to the Project Note. When a script finishes, it writes a standardized _log.md file (via sink() or logging libraries) into 30_Analysis/Logs. This log captures the session info, model summary, warnings, and—critically—the file path of the generated output (tables, figures, saved RData objects). The Project Note queries these logs, creating a live dashboard of analytical progress. This mechanism ensures that the "how i organized my obsidian for phd thesis writing for quantitative data" workflow remains auditable: the chain from raw variable to printed coefficient is unbroken and queryable.

Key Benefits and Crucial Impact

The primary impact is the elimination of the "translation loss" that typically occurs when moving from statistical output to academic prose. In traditional workflows, a researcher runs a model, exports a table to Word, and writes about it days later, often misremembering the specific model specification or the exact p-value threshold used. By writing the interpretation directly into the Project Note—linked to the live Dataview table showing the model fit indices—the interpretation is anchored to the specific analytical object. The prose becomes a property of the analysis, not a separate artifact.

Secondary benefits compound over the multi-year timeline of a doctorate. The #decision tag system creates an instant "Analytic Decisions" appendix for the final submission, satisfying open science requirements (e.g., JARS standards) without retrospective effort. The literature vault in 10_Literature uses a standardized "Claim-Evidence" template, where every highlighted PDF annotation (imported via Zotero integration or Readwise) is tagged with the specific construct it supports. When writing the Introduction, a query for construct: "self_efficacy" AND type: "claim" produces a curated evidence base, pre-sorted by theoretical relevance. This turns the literature review from a reading comprehension exercise into a database reporting task.

The map is not the territory, but a PhD thesis requires you to build the territory using the map. If your note system cannot distinguish between a theoretical construct, a measured variable, and a coded column in a dataframe, your writing will conflate them. Structure is epistemology.

Major Advantages

  • Bidirectional Traceability: A click on a variable name in the manuscript (40_Manuscript) opens the codebook entry (20_Data), which backlinks to the cleaning script (30_Analysis/Scripts) and the theoretical definition (10_Literature). This four-node loop closes the validity loop for every quantitative claim.
  • Executable Literature Review: Literature notes are not passive summaries. They contain structured fields for sample_size, effect_size, methodology, and limitations. Dataview tables aggregate these into meta-analytic summaries automatically, turning the reference library into a quantitative evidence map.
  • Versioned Analytical Narrative: Combined with obsidian-git, every commit message serves as a narrative timestamp. The git log, filtered by the 30_Analysis path, generates a complete computational history far more readable than raw commit hashes, linking code changes to intellectual intent.
  • Context-Preserving Writing Environment: Split-pane editing allows the manuscript section to sit beside the Project Note dashboard. The writer sees the model fit indices, the decision log, and the theoretical hypothesis while drafting the results paragraph, eliminating working memory overload.
  • Portability and Longevity: The entire vault is plain text (Markdown, CSV, R, BibTeX). It opens on any OS, requires no proprietary license to read, and survives software obsolescence. The defense presentation, the journal articles, and the data repository deposit all source from this single, version-controlled directory.

how i organized my obsidian for phd thesis writing for quantitative data - Ilustrasi 2

Comparative Analysis

Workflow Dimension Traditional Siloed Workflow (Zotero + Dropbox + Word + RStudio) Integrated Obsidian Graph Workflow
Variable Provenance Tracking Manual documentation in separate codebook doc; prone to drift. Automatic via YAML frontmatter links: Codebook -> Script -> Output -> Text.
Literature-to-Analysis Linkage Mental mapping or separate annotation files; high cognitive load. Direct wikilinks from Construct notes to Measurement items and Scripts.
Analytic Decision Audit Trail Reconstructed post-hoc from script comments or memory. Real-time #decision tags in Project Notes; queryable for Limitations section.
Manuscript-Output Synchronization Manual copy-paste of tables/figures; version mismatch risk. Quarto/R Markdown renders directly to manuscript; figures update on vault rebuild.

The immediate frontier is the integration of Large Language Models (LLMs) as local reasoning agents over the vault. Plugins like Copilot for Obsidian or local LLMs via Ollama can now query the vault context via Retrieval-Augmented Generation (RAG). The near-future workflow involves asking the vault: "Summarize all decisions made regarding missing data handling in the mediation project" or "Draft a robustness check paragraph based on the sensitivity analysis logs in Project X." This shifts the human role from information retrieval to verification and synthesis. The vault becomes an active collaborator, surfacing the #decision tags and log outputs relevant to a specific prompt, drastically reducing the time spent scrolling through history.

Simultaneously, the convergence of Quarto and Obsidian is moving toward "Computational Notebooks as First-Class Citizens." Future plugin development will likely blur the line between a note and a kernel-backed executable cell. Imagine a Project Note where a Mermaid diagram of the SEM model is not just a drawing, but a visual representation of a lavaan syntax block embedded in the note, executable via a local Jupyter kernel, with the fit indices rendering inline below the diagram. This would collapse the final remaining gap—the context switch to the IDE—making the vault a true Integrated Development Environment for scientific reasoning. The structure described here for how i organized my obsidian for phd thesis writing for quantitative data is the stable substrate ready for that evolutionary step.

how i organized my obsidian for phd thesis writing for quantitative data - Ilustrasi 3

Conclusion

Organizing an Obsidian vault for a quantitative doctorate is an act of theoretical engineering. The folder structure, the frontmatter schema, the plugin stack, and the daily protocols are not administrative overhead; they are the materialization of the research design. If the vault cannot distinguish between a latent construct and its indicator, the thesis will conflate them. If the vault cannot link a robustness check to the specific reviewer comment that prompted it, the revision letter will be fiction. The system described here enforces a discipline where every quantitative claim carries its pedigree—code, data, theory, decision—inside the same graph that holds the prose.

The result is a thesis that is not merely written, but compiled. The final PDF is an artifact generated from a living, version-controlled, queryable knowledge graph. This approach transforms the PhD from a test of endurance into a demonstration of structural clarity. The vault remains after the degree is conferred, serving as the reproducible computational environment for the articles that follow, the grant proposals that extend the work, and the inevitable re-analysis when a reviewer asks for a different estimator. That permanence—the ability to return to the project in three years and understand exactly why the model was specified that way—is the ultimate return on the investment of building this architecture.

Comprehensive FAQs

Q: How do you handle large raw data files (CSV, SAV, DTA) in a Git-tracked Obsidian vault without bloating the repository?

A: Raw data files are stored in 20_Data/Raw but are listed in .gitignore. They are managed via DVC (Data Version Control) or a cloud-synced folder (e.g., OneDrive/Google Drive) symlinked into the vault. Only the codebook (codebook.csv), cleaning scripts, and the output cleaned datasets (usually small .rds or .parquet files) are Git-tracked. This keeps the vault lightweight and portable while maintaining full provenance for the analytical datasets.

Q: What is the specific YAML frontmatter schema you use for literature notes to enable quantitative meta-synthesis?

A: The template enforces: study_id (unique citekey), construct_measured (list), sample_n, sample_type, effect_size_reported (numeric), effect_size_type (e.g., "correlation", "d", "OR"), analysis_method, reliability_reported (e.g., "alpha=.89"), and key_limitations (list). This allows Dataview to generate forest-plot-ready tables or summary matrices grouped by construct_measured instantly.

Q: How do you manage the "messy middle" of iterative coding—failed models, dead-end scripts, debugging sessions—without cluttering the Project Note?

A: The 30_Analysis/Scripts folder uses a naming convention: 01_clean_main.R, 02_model_main.R, _archive/02_model_main_v1_failed.R. The Project Note only links to the current canonical scripts. Failed attempts are moved to _archive (ignored by Dataview queries targeting 30_Analysis/Scripts without _archive). The decision log in the Project Note records why a path was abandoned (e.g., "Model 2 failed convergence; switched to Bayesian estimator"), preserving the intellectual history without polluting the active workspace.

Q: Can this workflow work collaboratively with co-authors who do not use Obsidian?

A: Yes. The manuscript is rendered via Quarto to .docx (with track changes) or .tex for Overleaf. Co-authors edit the Word/Overleaf file. A designated "integrator" merges changes back into the Obsidian 40_Manuscript Markdown files manually or via a diff tool. The code and data remain in the Git repo (GitHub/GitLab), accessible to co-authors via standard Git clients. Obsidian remains the "source of truth" for structure and logic; the output formats handle collaboration.

Q: What is the minimal viable plugin set required to replicate this system without overwhelming a beginner?

A: Five core plugins: Dataview (query engine), Templater (note automation), Obsidian Git (version control), Quarto (rendering pipeline), and Dataview Query Builder (visual query helper). Optional but high-value: Canvas (visual model mapping), Zotero Integration (literature import), Mermaid Tools (diagram editing). Disable all others initially; complexity is the enemy of the thesis.