Create Project Directory + readme files

Description

This function creates the standard project organization structure for CIDA within a folder that already exists.

Usage

create_project(
  path = getwd(),
  template = c("Admin", "Background", "Code", "DataRaw", "DataProcessed",
    "Dissemination", "Reports"),
  project_name,
  pi = "",
  analyst,
  data_location = "",
  git_location = ""
)

Arguments

path Where should they be created? Default is the working directory.
template Which subdirectories to create
project_name Name of project, (required)
pi Name of PI and credentials, or "" for blank
analyst Name of Analyst(s), (required)
data_location Location of project on CIDA Drive, or "" for blank
git_location Location project on GitHub

Value

This function creates the desired project subdirectories and readmes, as well as a standard .gitignore file files. It will not overwrite the file however if it does not exist. It does not return anything.

See Also

proj_setup() is the internal wrapper for this that gets called when using the RStudio GUI to create a project