Thanks to Kit Baum a new package is now available on SSC: mkproject. The purpose of this package is to make starting a new research project more convenient. When I start a new data analysis project I always make a new folder with the same set of subfolders, and I create a couple of .do files that all start and end with the same commands (starting logs, clearing, closing logs, etc). The mkproject command automates all that: It creates an new project folder with the, for me, standard sub-folders (admin, docu, posted, posted/data, and work). The work folder contains a main do-file, and a data preparation and a analysis do-file, which some boilerplate code. The docu folder contains the research_log.txt file, with the start of the research log. For adding additional .do files, there is the boilerplate command in this package, which creates a new .do file with boilerplate code. This package is inspired by the book by Scott long (2009)
To install it type in Stata ssc install mkproject
I hope some of you find this useful.
J. Scott Long (2009) The Workflow of Data Analysis Using Stata. College Station, TX: Stata Press. https://www.stata-press.com/books/wo...nalysis-stata/
0 Response to new on SSC: mkproject create a new project folder with boilerplate code
Post a Comment