Affiliation:
1. North Carolina State University, Raleigh, NC,
2. Bureau of Economic Analysis, Washington, DC,
Abstract
In this article, we present statacons, an SCons-based build tool for Stata. Because of the integration of Stata and Python in recent versions of Stata, we are able to adapt SCons for Stata workflows without the use of an external shell or extensive configuration. We discuss the usefulness of build tools generally, provide examples of the use of statacons in Stata workflows, present key elements of the syntax of statacons, and discuss extensions, alternatives, and limitations. We provide recommendations for collaborative workflows and, at the end of the article, installation instructions.
Subject
Mathematics (miscellaneous)
Reference22 articles.
1. BITSS. 2020. Guide for accelerating computational reproducibility in the social sciences. https://bitss.github.io/ACRE.
2. Open Science Practices are on the Rise: The State of Social Science (3S) Survey
3. Gentzkow M., Shapiro J. M. 2014. Code and data for the social sciences: A practitioner’s guide. Mimeo: University of Chicago. http://web.stanford.edu/∼gentzkow/research/CodeAndData.pdf.
4. Markdoc: Literate Programming in Stata
5. Jackson M. 2016. Software carpentry: Automation and make. http://swcarpentry.github.io/make-novice/.