Faculty of Epidemiology and Population Health, London School of Hygiene & Tropical Medicine, London, UK.
Brigham and Women's Hospital, Harvard Medical School, Boston, Massachusetts, USA.
Pharmacoepidemiol Drug Saf. 2024 Sep;33(9):e5856. doi: 10.1002/pds.5856.
There is increasing recognition of the importance of transparency and reproducibility in scientific research. This study aimed to quantify the extent to which programming code is publicly shared in pharmacoepidemiology, and to develop a set of recommendations on this topic.
We conducted a literature review identifying all studies published in Pharmacoepidemiology and Drug Safety (PDS) between 2017 and 2022. Data were extracted on the frequency and types of programming code shared, and other key open science practices (clinical codelist sharing, data sharing, study preregistration, and stated use of reporting guidelines and preprinting). We developed six recommendations for investigators who choose to share code and gathered feedback from members of the International Society for Pharmacoepidemiology (ISPE).
Programming code sharing by articles published in PDS ranged from 1.8% in 2017 to 9.5% in 2022. It was more prevalent among articles with a methodological focus, simulation studies, and papers which also shared record-level data.
Programming code sharing is rare but increasing in pharmacoepidemiology studies published in PDS. We recommend improved reporting of whether code is shared and how available code can be accessed. When sharing programming code, we recommend the use of permanent digital identifiers, appropriate licenses, and, where possible, adherence to good software practices around the provision of metadata and documentation, computational reproducibility, and data privacy.
人们越来越认识到科学研究中透明度和可重复性的重要性。本研究旨在量化药物流行病学中编程代码公开共享的程度,并就这一主题提出一系列建议。
我们进行了文献综述,确定了 2017 年至 2022 年期间发表在《药物流行病学与药物安全》(PDS)上的所有研究。提取了关于共享编程代码的频率和类型的数据,以及其他关键的开放科学实践(临床代码列表共享、数据共享、研究预注册,以及报告指南和预印本的使用声明)。我们为选择共享代码的研究人员制定了六项建议,并从国际药物流行病学学会(ISPE)成员那里收集了反馈。
发表在 PDS 上的文章中,编程代码的共享率从 2017 年的 1.8%到 2022 年的 9.5%。它在具有方法学重点、模拟研究和同时共享记录级数据的文章中更为普遍。
编程代码共享在 PDS 上发表的药物流行病学研究中很少见,但正在增加。我们建议改进报告是否共享代码以及如何访问可用代码。在共享编程代码时,我们建议使用永久数字标识符、适当的许可证,并且在可能的情况下,遵守提供元数据和文档、计算可重复性和数据隐私方面的良好软件实践。