# Ketamine in Depression: Database and Analysis > An open table of the results of randomised trials of ketamine, esketamine and arketamine in depression: 157 trials, 2,179 result rows, 10,753 values, each value with the source and the page it was read from. Version 0.1, build 2026-11-14.132. This file tells an AI assistant how to use the files correctly. All paths are relative to this file. One row of the table is one comparison of two arms of a trial, for one outcome, on one scale, at one time point. Arm 1 is always the ketamine arm; arm 2 is the comparator. The values are group summaries as the sources print them (means, SDs and group sizes, or counts of events). Effect sizes are not stored: compute them from the row. ## Read these first - [README.md](data/README.md): what the database is, how it was made, and how to use it. - [codebook.md](data/codebook.md): every file and every column, with its meaning and values. Look a column up here before you use it. - [datapackage.json](data/datapackage.json): types, missing values and keys of every table, machine-readable (Frictionless Tabular Data Package). ## The files - [data.csv](data/data.csv): the table. 2,179 rows, 64 columns, key `row_id`. - [row_annotations.csv](data/row_annotations.csv): one line per row, joined on `row_id`. Marks set by rule: the scale's family, which row of a result to take, why a row is not usable, the hours since dosing. - [values.csv](data/values.csv): one line per value for the 1,556 rows added after the first snapshot (7,303 values that stand in the table, and the values the readers listed that do not). For each: `source`, `locator` (page, table or figure, row and column), `status`, `readers`, `agreement`. - [locators.csv](data/locators.csv): one line per row, for every row: `where_values` and `where_counts` say where the source prints the row's values and its group sizes. - [sources.csv](data/sources.csv): for each row, the article, supplement or registry record (DOI or registration number) its numbers come from. - [second_reading.csv](data/second_reading.csv): one line per value of the table, with the result of checking it a second time against its source. - [arms.csv](data/arms.csv): one line per trial arm: compound, route, dose, number of doses, kind of comparator. - [families.csv](data/families.csv): one line per trial with all its reports. - [trust_screen.csv](data/trust_screen.csv): a limited trustworthiness screen of each trial's report, key `trial_id`. - [risk_of_bias.csv](data/risk_of_bias.csv): risk of bias (RoB 2) for ONE named result per trial, the row in `result_row_id`. Do not apply it to the trial's other rows. - [page_trace.csv](data/page_trace.csv): one line per row: whether a checker traced the row back to its source page, and what it found. - [trials_known_not_in.csv](trials_known_not_in.csv): the trials known and not in this version (at least 42), with the reason for each. This list belongs to the page; it is not a file of the release. ## How to load Every CSV file is semicolon-separated UTF-8 with `NA` for a missing value; text that holds a semicolon or a double quote is quoted. `data.csv` writes numbers with a decimal comma (`0,5`); `values.csv` writes them with a decimal point. ```python import pandas as pd d = pd.read_csv("data/data.csv", sep=";", decimal=",", na_values="NA", keep_default_na=False, encoding="utf-8") a = pd.read_csv("data/row_annotations.csv", sep=";", decimal=",", na_values="NA", keep_default_na=False, encoding="utf-8") assert d.shape == (2179, 64) and d["row_id"].is_unique m = d.merge(a.drop(columns=["instrument", "end_of_randomised_phase"]), on="row_id") ``` In R: `d <- read.csv2("data/data.csv", na.strings = "NA", stringsAsFactors = FALSE, fileEncoding = "UTF-8")`, then check `nrow(d) == 2179`. ## The columns that matter In `data.csv`: - Identity: `row_id`, `trial_id`, `study` (first author and year), `doi`, `registration_number`, `full_ref`. - Arms: `compound_arm1` (racemic ketamine, esketamine, arketamine), `compound_arm2`, `route_arm1`, `route_arm2`, `dose_arm1`, `dose_arm2`, `n_doses_arm1`, `comparator_kind`; the arms in the source's words are in `multi_arm1` and `multi_arm2`. - Outcome: `outcome_type` (`msd` for means and SDs, `change`, `response`, `remission` and other events), `instrument`, `rating` (clinician or self-report). - Time: `time` (the visit as the source labels it), `is_baseline`, `end_of_randomised_phase`, `treatment_phase`. `time_weeks` counts from the start of the trial's schedule, not from a dose. - Values: `mean_arm1`, `sd_arm1`, `n_arm1` (and `_arm2`); `mean_change_`, `sd_change_`, `n_change_`; `event_`, `totaln_`. A row holds one kind; the other value columns are `NA`. - Design and use: `design` (parallel or crossover), `poolable_as_it_stands`. In `row_annotations.csv`: `instrument_family` (one name per scale, for example `MADRS`, `HAM-D`), `preferred_in_wide`, `pool_note`, `comparison_type`, `comparator_group_id`, `hours_since_first_dose`, `hours_since_last_dose`, `mean_change_later_minus_baseline_arm1` and `_arm2`, `outcome_domain`, `event_direction`. ## How to pick the rows that can enter an analysis 1. Keep the rows with `poolable_as_it_stands == "yes"`: 1,030 rows from 106 trials. These are not baseline rows, hold the full set of values for both arms, and carry none of the reasons in `pool_note` (for example serious trust concerns, a within-person crossover result, a failed statistic check). 2. Of those, keep `preferred_in_wide == "yes"` (908 rows). This takes one row of each result where the table holds it in several analysis versions, so each result is counted once. 3. For ketamine against something that is not ketamine, keep `comparison_type == "ketamine_against_other"` (861 rows from 98 trials after steps 1 and 2). Choose the comparators you want with `comparator_kind`. 4. Then make the choices the marks do not make for you, and say which you made: - The visit. `end_of_randomised_phase == "yes"` marks the end of a randomised phase. For a time after dosing use `hours_since_last_dose` or `hours_since_first_dose`: they are nominal hours from the trial's schedule, text columns that also hold ranges such as `96-144`, `not applicable` and `cannot tell` (569 and 362 rows are not settled). - The scale. Where a trial reports one construct on two scales, both rows stay preferred: take one per trial. - Shared participants. Rows with the same `comparator_group_id`, or with `shares_participants:` in `pool_note`, hold the same comparator group or the same arm: take one, or combine the arms, but do not pool both as they stand. - Change scores. The sign of `mean_change_arm1` is the source's. Use `mean_change_later_minus_baseline_arm1` and `_arm2`, where a negative value is always a fall in the score. Scores at a visit (`msd`) and changes from baseline have different SDs: do not mix them in one standardised mean difference without saying so. - Events. `event_direction` says whether more is better (response, remission) or fewer is better (relapse). 5. A filter for one value leaves out the rows whose cell is not settled (`not stated`, `cannot tell`). Count what a filter drops. The marks are set by written rules from what the sources print. They are not a judgement of a trial's quality and not a statement that rows are independent of one another. ## How to trace a value For a row added after the first snapshot, find its line in `values.csv` by `row_id` and `column` (for example `mean_arm1`): `source` names the article or registry record and `locator` the page, table or figure, row and column. For every row, `locators.csv` gives the same at the level of the row. Example: row `X1_5eb2552450099bf26c` (Murrough, 2015), `mean_arm1` 19.0: journal article 10.1017/S0033291715001506, PDF page 6 (printed p. 3576), Table 2, instrument MADRS, row "24 h", column Ketamine (page image checked). ## When you answer from this table - Compute every number from the files; do not quote effect sizes from memory. - Name the rows you used by `row_id`, say how many trials they come from, and state your selection rule. - Say what the table does not hold: harms and adverse events are not in this version, coverage of each trial's outcomes and time points is partial, and at least 42 further trials are known and not in it. ## Citation and licence Christensen, J., & Landau, A. M. (2026). Ketamine and esketamine in depression: a meta-analytic database of randomised trials (Version 0.1) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.24202547 Cite the trials you use as well (`full_ref`, `doi`, `registration_number`). Data and documentation: CC BY 4.0. Code: MIT. The trial reports and registry records themselves are not part of the release and keep their own terms. [CITATION.cff](data/CITATION.cff), [LICENSE](data/LICENSE).