Research & Events · Free tool
Research Data Dictionary Builder
Define variable meanings, units, codes and derivations, compare them with a CSV header, and download a structured dictionary with visible checks.
No sign-up · Calculations in this browser · Copy and download results
For learning and preparation. This tool does not diagnose conditions or recommend treatment. Do not enter patient identifiers.
Loading the calculator. JavaScript is required to calculate. Instructions and sources are available below.
Your result
How to use this tool
- Write one definition per variable, using short meanings, units and code labels. No patient data is needed.
- Optionally paste the actual CSV header only. Review undefined headers and extra definitions separately.
- Correct missing descriptions, incomplete codes and inconsistent ranges. Download JSON for full structured metadata or CSV for a worksheet.
Worked example
The example defines id, group and notes, while the supplied CSV header is id,group,value. The result identifies value as lacking a definition and notes as absent from the supplied header.
Assumptions and limits
- This tool describes variables; it does not check data values or infer clinical meanings. Use the CSV Quality Check for structural checks of an actual de-identified dataset.
- Names are trimmed but not case-folded. Duplicate names stop processing. Numeric bounds use finite values within the documented numeric range and are only interpreted for integer/number types.
- Codes use semicolons between pairs and the first equals sign between code and label. Missing tokens are explicit metadata; zero is not automatically missing. Blank definition fields remain blank in exports.
- A CSV header may use quoted commas or doubled quotes. Additional CSV data records are rejected. Exports follow this tool’s format and do not certify any repository’s submission requirements.
- JSON retains issues and comparison results. CSV prefixes spreadsheet-sensitive values with an apostrophe; do not treat that prefix as part of a variable name when transferring it elsewhere. No automatic saving or transmission is performed.