Every variable: what it measures and how it is coded.
Data Dictionary
The harmonized, de-identified variables shared through the Cannabis and Health Data Repository. Definitions only — no participant data.
| Variable | Description | Range | Classification |
|---|---|---|---|
unit | Unit of measure, where applicable. | — | — |
value | Recorded value for the variable (string; cast per the variable's type). | — | — |
variable_name | Coded name of the survey/measure variable (EAV key). | — | — |
days_since_anchor | Optional de-identified relative date — days from a per-subject study anchor. Use instead of, never alongside, a real calendar date. | integer | — |
observation_year | Year of the observation only (no finer date) per Safe Harbor. | integer | — |
enrollment_year | Year of enrollment only (no finer date) per Safe Harbor. | integer | — |
zip3 | First three ZIP digits only (geography coarsened). Restricted ZIP3s (population < 20,000) are set to "000" per Safe Harbor. | — | — |
race_ethnicity | Race / ethnicity (coded; expand permissible values per the instrument). | — | — |
sex | Sex. | SexEnum | — |
age_years | Age in years. Ages over 89 collapse to 90 (the "90+" cap) per HIPAA Safe Harbor. | integer | — |
deid_ruleset_version | Version of the de-identification ruleset applied to the record. | — | — |
linkml_version | Version of this dictionary the record was validated/harmonized against. | — | — |
dataset_id | Identifier for a submitted batch (`_chri_dataset_id`). | — | — |
consent_group | Consent / data-use group governing the records. | ConsentGroupEnum | — |
protocol_number | Grant / IRB protocol number for the study. | — | — |
study_name | Human-readable study name. | — | — |
study_id | Stable identifier for the contributing study. | — | — |
subject_id | Coded subject ID = HMAC-SHA256(per-study salt, submitter subject id)[:16]. Keyed HMAC (not bare hashing); the code key is never released. | — | — |

