OSCR

Classifying and visualizing medication use in the ABCD study.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Markdown · 66 lines · 2 KB · no license

  1. 📌 Code Requirements & Notes
  2. 📂 Dataset Version
  3. All scripts require the ABCD 6.0 data release.
  4. 📚 Medication Categories
  5. You can explore the medication categories at the following resources:
  6. 🔹 Interactive Tableau Dashboard
  7. 👉 https://public.tableau.com/views/ABCD_Medications_v1/MedicationDashboard
  8. 🔹 Methodology Preprint (medRxiv)
  9. 👉 https://www.medrxiv.org/content/10.1101/2025.11.19.25340321v1
  10. 🗂️ Mapping File
  11. To reproduce the medication category definitions used in the Tableau dashboard, users should rely on the following two files in this repository:
  12. ABCD_Medication_Mapping_Github.xlsx
  13. Mapping_2wk_Med_Use
  14. These files contain the full medication mapping logic and category assignments used to generate the dashboard-level summaries, including harmonized medication groupings derived from ABCD medication variables.
  15. Users attempting to reproduce, extend, or audit the Tableau dashboard should use these files as the primary reference for medication classification.
  16. If you have any questions, concerns, or encounter issues when using these files, please feel free to reach out to [email hidden]
  17. .
  18. If you use this mapping framework in your work, please cite the following preprint:
  19. Lopez, D. A., et al. [Title]. medRxiv (2025).
  20. https://www.medrxiv.org/content/10.1101/2025.11.19.25340321v1
  21. 📄 Data Format
  22. Scripts assume the ABCD dataset is in long format:
  23. One row per participant per visit
  24. All medication survey items exist within that row
  25. 💻 Programming Language
  26. All scripts are written in R.
  27. 🏷️ Generated Variables
  28. For each category in the medication mapping file, the scripts generate three binary indicator variables:
  29. Variable Prefix Timeframe Notes
  30. x1yr_ Past year Only collected starting in Year 3
  31. x2wk_ Past 2 weeks Available at all visits
  32. x24hr_ Past 24 hours Available at all visits
  33. Each variable is coded:
  34. 1 → medication from that category was taken
  35. 0 → not taken
  36. ⚠️ Missing Data
  37. All NA values in generated variables are recoded to 0, meaning “did not take medication.”

README.md at commit df7d721, no license · at the source

Overview

Authors: Daniel A Lopez1,2, L Nate Overholtzer3, Kyung E Rhee4, Natalie Buchbinder4, Gloria E Ruiz-Orozco1,2, Sam Steinhilber1,2, Mia Tognoli1,2, Arturo Lopez Flores1,2, Bonnie J Nagel1,2
  1. Department of Psychiatry, Oregon Health and Science University, Portland, OR United States of America
  2. Center for Mental Health Innovation, Oregon Health and Science University, Portland, OR United States of America
  3. USC-Caltech MD-PhD Program, Keck School of Medicine, of the University of Southern California, Los Angeles, CA United States of America
  4. Department of Pediatrics, University of California San Diego School of Medicine, Rady Children’s Hospital San Diego, San Diego, CA United States of America
Journal: Scientific reports, volume 16, issue 1, article 20462
Dates: received 25 January 2026; accepted 18 April 2026; published online 4 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41598-026-50046-8 · PMID 42071040 · PMCID PMC13328499 · OpenAlex W7160066663
Open access: gold, a free copy (OpenAlex)
Status: empty repository (how the code is found and verified)
Categories: human (organism), depression (population), developmental (subfield)
Methods: Connectivity, Statistics
Keywords: Medication classification, Pharmacoepidemiology, Adolescent health, Adolescent Brain Cognitive Development Study, Reproducible research, Diseases, Health care, Medical research, Neuroscience, Psychology
MeSH: Brain*, Cognition*, Nonprescription Drugs*, Adolescent, Antidepressive Agents, Female, Humans (* major topic)
Topic: Treatment of Major Depression (Pharmacology (medical), Medicine), according to OpenAlex
Funding: NIGMS NIH HHS (K12 GM150451)
Citations: cited by 1 paper (Europe PMC); 28 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repository

Its files are read in the Code ↔ Paper reader above.

Daniel-Adan-Lopez/ABCD_Medications

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: df7d72198b8889c8003913d066b9c02da84d7f30, 14 January 2026
Size: 5 files, 0 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
1 file

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 0 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Code and data availability statement

The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41598-026-50046-8.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 10 keywords, 7 MeSH terms, 1 funder, 20 references.

Cite

This paper

Lopez, D. A., Overholtzer, L. N., Rhee, K. E., Buchbinder, N., Ruiz-Orozco, G. E., Steinhilber, S., Tognoli, M., Flores, A. L., & Nagel, B. J. (2026). Classifying and visualizing medication use in the ABCD study. Scientific reports, 16(1), 20462. https://doi.org/10.1038/s41598-026-50046-8

BibTeX

@article{lopez2026classifying,
author = {Lopez, Daniel A and Overholtzer, L Nate and Rhee, Kyung E and Buchbinder, Natalie and Ruiz-Orozco, Gloria E and Steinhilber, Sam and Tognoli, Mia and Flores, Arturo Lopez and Nagel, Bonnie J},
title = {{Classifying and visualizing medication use in the ABCD study}},
journal = {Scientific reports},
year = {2026},
month = may,
volume = {16},
number = {1},
pages = {20462},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-50046-8},
url = {https://doi.org/10.1038/s41598-026-50046-8},
pmid = {42071040},
pmcid = {PMC13328499}
}

RIS

TY - JOUR
AU - Lopez, Daniel A
AU - Overholtzer, L Nate
AU - Rhee, Kyung E
AU - Buchbinder, Natalie
AU - Ruiz-Orozco, Gloria E
AU - Steinhilber, Sam
AU - Tognoli, Mia
AU - Flores, Arturo Lopez
AU - Nagel, Bonnie J
TI - Classifying and visualizing medication use in the ABCD study
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/05/04
VL - 16
IS - 1
SP - 20462
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-50046-8
UR - https://doi.org/10.1038/s41598-026-50046-8
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-50046-8",
"type": "article-journal",
"title": "Classifying and visualizing medication use in the ABCD study",
"container-title": "Scientific reports",
"author": [
{
"family": "Lopez",
"given": "Daniel A"
},
{
"family": "Overholtzer",
"given": "L Nate"
},
{
"family": "Rhee",
"given": "Kyung E"
},
{
"family": "Buchbinder",
"given": "Natalie"
},
{
"family": "Ruiz-Orozco",
"given": "Gloria E"
},
{
"family": "Steinhilber",
"given": "Sam"
},
{
"family": "Tognoli",
"given": "Mia"
},
{
"family": "Flores",
"given": "Arturo Lopez"
},
{
"family": "Nagel",
"given": "Bonnie J"
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "20462",
"DOI": "10.1038/s41598-026-50046-8",
"PMID": "42071040",
"PMCID": "PMC13328499",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-50046-8",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
4
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1016/j.neuroimage.2023.120287 [code]
Profiling intra- and inter-individual differences in brain development across early adolescence.
Journal: NeuroImage
In common: developmental, 6 references
[2] doi:10.1016/j.dcn.2025.101518 [code]
Longitudinal analysis of the ABCD® study.
Journal: Developmental cognitive neuroscience
In common: developmental, 5 references
[3] doi:10.1038/s42003-024-06504-y [code]
Estimating the total variance explained by whole-brain imaging for zero-inflated outcomes.
Journal: Communications biology
In common: developmental, 5 references
[4] doi:10.1016/j.dcn.2022.101115 [code]
A practical guide for researchers and reviewers using the ABCD Study and other large longitudinal datasets.
Journal: Developmental cognitive neuroscience
In common: developmental, 5 references
[5] doi:10.1016/j.ynirp.2022.100133 [code]
Mediating effect of pubertal stages on the family environment and neurodevelopment: An open-data replication and multiverse analysis of an ABCD Study<sup>®</sup>.
Journal: Neuroimage. Reports
In common: developmental, 5 references
[6] doi:10.1016/j.eclinm.2021.101204 [code]
Brain structural associations with depression in a large early adolescent sample (the ABCD study®).
Journal: EClinicalMedicine
In common: depression, developmental, 4 references
[7] doi:10.1016/j.neuroimage.2025.121238 [code]
Characterizing the effects of age, puberty, and sex on variability in resting-state functional connectivity in late childhood and early adolescence.
Journal: NeuroImage
In common: developmental, 4 references
[8] doi:10.1093/braincomms/fcae250 [code]
Neural response to monetary incentives in acquired adolescent depression after mild traumatic brain injury: Stage 2 Registered Report.
Journal: Brain communications
In common: depression, developmental, 4 references
[9] doi:10.1073/pnas.2321965121 [code]
Depressive symptoms during the transition to adolescence: Left hippocampal volume as a marker of social context sensitivity.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: depression, developmental, 4 references
[10] doi:10.1038/s41598-025-16856-y [code]
Adolescent suicide behaviors associate with accelerated reductions in cortical gray matter volume and slower decay of behavioral activation Fun-Seeking scores.
Journal: Scientific reports
In common: depression, developmental, 3 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1038/s41598-026-50046-8.svg)](https://openscicode.org/badge/doi/10.1038/s41598-026-50046-8)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41598-026-50046-8.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41598-026-50046-8
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41598-026-50046-8"><img src="https://openscicode.org/badge/doi/10.1038/s41598-026-50046-8.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.