Folder structure

In order to organize your project, set up a new folder on your computer. You can organize the sub-files according to your needs, but there are four files that will be useful for each project:

Screenshot

  • Raw data: This is where you save your initial datasets, which you have not manipulated yet. These might be in different formats such as xlsx, csv, or already a stata dataset (dta).
  • Dofiles: Save all your dofiles here and label them in a meaningful way (e.g. data cleaning, data analysis,…)
  • Clean data: After you have manipulated the raw data, save the final datasets here. Usually, these will all be in dta format and ready for further analysis.
  • Results: This is where you save any output that you generate during the analysis, for example graphs and tables. If you are using LaTeX for text or presentations, you can set this folder as the directory and draw figures and tables directly from here.