Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Review
. 2024 Sep;33(9):e5856.
doi: 10.1002/pds.5856.

Sharing Is Caring? International Society for Pharmacoepidemiology Review and Recommendations for Sharing Programming Code

Affiliations
Review

Sharing Is Caring? International Society for Pharmacoepidemiology Review and Recommendations for Sharing Programming Code

John Tazare et al. Pharmacoepidemiol Drug Saf. 2024 Sep.

Abstract

Purpose: 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.

Methods: 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).

Results: 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.

Conclusion: 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.

Keywords: open science; pharmacoepidemiology; programming code sharing; reproducibility; transparency.

PubMed Disclaimer

References

    1. Open Science Collaboration, “Estimating the Reproducibility of Psychological Science,” Science 349, no. 6251 (August 2015): aac4716.
    1. T. M. Errington, M. Mathur, C. K. Soderberg, et al., “Investigating the Replicability of Preclinical Cancer Biology,” eLife 7, no. 10 (December 2021): e71601.
    1. S. V. Wang, S. K. Sreedhara, and S. Schneeweiss, “Reproducibility of Real‐World Evidence Studies Using Clinical Practice Data to Inform Regulatory and Coverage Decisions,” Nature Communications 13, no. 1 (August 2022): 1–11.
    1. M. Mathur and M. P. Fox, “Toward Open and Reproducible Epidemiology [Internet]. OSF Preprints,” 2022, https://osf.io/bpkf7/.
    1. M. R. Munafò, B. A. Nosek, D. V. M. Bishop, et al., “A Manifesto for Reproducible Science,” Nature Human Behaviour 1, no. 1 (January 2017): 1–9.

Publication types

LinkOut - more resources