ProjectTemplate is based on the idea that you should structure all of your data analysis projects in the same way so that you can exploit conventions instead of writing boilerplate code. Because so much of ProjectTemplate’s functionality is based on conventions, it’s worth explaining ProjectTemplate’s idealized project in some detail.

Full Project Layout

As far as ProjectTemplate is concerned, a good statistical analysis project should look like the following:

Each of these directories and files serves a specific purpose, which we describe below:

Minimal Project Layout

A minimal project, which you can create using create.project(minimal = TRUE), only contains a subset of the full project layout:

This is designed for newcomers who don’t need the more advanced subdirectories that ProjectTemplate normally creates.