Function to initialize an analysis project folder, creating folders and files typical to most analysis projects.

create_analysis_project(initial = TRUE, work = FALSE, proj = "XXX_AYY")

Arguments

initial

Logical; if TRUE creates folders for source data and R scripts, creates the '_targets.R' file, and creates an example R script for cleaning source data. Otherwise generates a single template R script.

work

Logical; if TRUE using current work email rather than personal email.

proj

A character string, the project label to start each function with.

Value

As a side effect, creates a set of folders and files in the current working directory.