AltF Research Variable Codebook
Define research variables and missing values, validate your CSV against the codebook, and export data dictionaries and revisions in your browser.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
AltF Research Variable Codebook
Define research variables, permissible value dictionaries, missing-data codes, and derived formulas, validate CSV datasets, track revisions, and export Markdown, CSV, JSON, Excel, or PDF codebooks.
AltF Research Variable Codebook is a browser-based study data dictionary and dataset validation workbench built for reproducible research. Document variables with stable identifiers, coded value dictionaries, missing-value semantics, and derived-variable formulas, run row-by-row validation against uploaded CSV files, track codebook revisions with structured diffs, and export clean machine-readable and human-readable documentation without uploading study data to any server.
How to use AltF Research Variable Codebook
- 1
Create a new study project or open the built-in sample codebook to review variables, labels, units, and measurement levels.
- 2
Add variables with stable IDs, data types, allowed value dictionaries, numeric ranges, and explicit missing-data sentinel codes.
- 3
Define derived variables with live formula validation and dependency checks to prevent circular references.
- 4
Import a CSV or TSV dataset in the Validation tab to map columns, inspect cell-level errors or missing-code counts, and edit cells inline.
- 5
Snapshot revisions with field-level diffs and export publication-ready documentation as Markdown, CSV, JSON, JSON Schema, CSVW, Excel (.xlsx), or PDF.
Why use AltF Research Variable Codebook
Stable Variable IDs & Value Dictionaries
Rename field names without breaking column mappings or derived formulas, and maintain reusable coded value lists with active or deprecated statuses.
Explicit Missing-Data Semantics
Distinguish skipped, refused, unknown, not-applicable, and custom missing sentinel codes from out-of-range validation errors.
Live Dataset Validation & Derived Formulas
Upload CSV or TSV files locally to validate types, ranges, required fields, and coded values row-by-row while computing derived variables safely.
Multi-Format Reproducible Exports
Export your codebook as Markdown, CSV, round-trip JSON, JSON Schema, CSVW metadata, multi-sheet Excel (.xlsx), or formatted PDF entirely in your browser.
Common use cases
- Clinical, behavioral, and social science researchers documenting survey instruments, Likert scales, and missing-data codes (-99, NA, refused) before data collection or preregistration.
- Data managers validating incoming CSV/TSV exports against permissible value lists, required fields, and numeric bounds before statistical analysis.
- Research teams versioning study codebooks across waves and exporting JSON Schema, CSVW metadata, Excel workbooks, or PDF appendices for repositories such as OSF or Zenodo.
Frequently asked questions
Is my research dataset or codebook uploaded to a server?
No. All projects, variable definitions, uploaded CSV datasets, validation runs, and exports run 100% locally in your browser and autosave to localStorage.
Link to answerWhat export formats are supported?
You can export codebooks as Markdown (.md), CSV (.csv), round-trip AltF Codebook JSON (.json), JSON Schema (.schema.json), W3C CSVW metadata (.json), Excel workbooks (.xlsx), and formatted PDF (.pdf).
Link to answerHow are missing-data codes handled during validation?
Codes listed under a variable's Missing Values (such as -99, -98, or NA) are recognized as declared missing sentinels rather than type or range violations, and are summarized separately in validation reports.
Link to answerCan I re-import a previously exported codebook?
Yes. Export your project as AltF Codebook JSON and import it later from the Import menu to recreate the project with all variable definitions, dictionaries, missing codes, and formulas intact.
Link to answer