IDEAS home Printed from https://ideas.repec.org/p/boc/lsug24/02.html
   My bibliography  Save this paper

Using GitHub for collaborative analysis

Author

Listed:
  • Chloe Middleton-Dalby

    (Adelphi Real World)

  • Liane Gillespie-Akar

    (Adelphi Real World)

Abstract

Recent trends have led to an increased importance being placed upon formal quality control processes for analysis conducted within the pharmaceutical industry and beyond. While a key feature of Stata is reproducibility through do- files and automated reporting, there are limited built-in tools for version control, code review, and collaborative analysis. Git is a distributed version control system, widely used by software development teams for collaborative programming, change tracking, and enforcement of best practices. Git keeps a record of all changes to a codebase over time, providing the ability to easily revert to a previous state, manage temporary branches, and combine code written by multiple people. Services such as GitHub build on the Git framework, providing tools to conduct code review, host source files, and manage projects. We present an overview of Git and GitHub, and explain how we use it for Stata projects at Adelphi Real World: an organisation specialising in the collection and analysis of real-world healthcare data from physicians, patients, and caregivers. We share an example project to outline the benefits of code review for both data integrity and as a training tool. We also discuss how, through implementing a software-development-like approach to the creation of ado-files, we can enhance the process of creating new programs in Stata and gain confidence in the robustness and quality of our commands.

Suggested Citation

  • Chloe Middleton-Dalby & Liane Gillespie-Akar, 2024. "Using GitHub for collaborative analysis," UK Stata Conference 2024 02, Stata Users Group.
  • Handle: RePEc:boc:lsug24:02
    as

    Download full text from publisher

    File URL: http://repec.org/lsug2024/UK24_Middleton-Dalby.pptx
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:lsug24:02. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.