EconPapers    
Economics at your fingertips  
 

Using GitHub for collaborative analysis

Chloe Middleton-Dalby () and Liane Gillespie-Akar
Additional contact information
Chloe Middleton-Dalby: Adelphi Real World
Liane Gillespie-Akar: Adelphi Real World

UK Stata Conference 2024 from Stata Users Group

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.

Date: 2024-09-16
References: Add references at CitEc
Citations:

Downloads: (external link)
http://repec.org/lsug2024/UK24_Middleton-Dalby.pptx

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:lsug24:02

Access Statistics for this paper

More papers in UK Stata Conference 2024 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-19
Handle: RePEc:boc:lsug24:02