Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • new on SSC: mkproject create a new project folder with boilerplate code

    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/
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

  • #2
    Thanks to Kit Baum a new version of mkproject is now available on SSC. To install it type in Stata ssc install mkproject, replace . The new version contains two main improvements:

    It has a git option, that will set the project folder up the way I like it when using Git (https://git-scm.com/) to maintain and share my project. It will also initialize the Git repository.

    It has a smclpres option, which will set the project folder up the way I like when I want to create a smclpres presentation. For smclpres presentations see for example this presentation at the 2019 London Stata Conference: http://www.maartenbuis.nl/presentations/konstanz18.html
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      Thanks to Kit Baum a new version of the mkproject package is now available on SSC. The main update is that it is now possible to add your own templates for projects (what folders and files do I want in my project folder) and do-files (what "standard" commands and comments do I want to add to my .do files). To install it type in Stata ssc install mkproject, replace .
      ---------------------------------
      Maarten L. Buis
      University of Konstanz
      Department of history and sociology
      box 40
      78457 Konstanz
      Germany
      http://www.maartenbuis.nl
      ---------------------------------

      Comment

      Working...
      X