View source: R/create_project.R
create_project | R Documentation |
This function creates the standard project organization structure for CIDA within a folder that already exists.
create_project(
path = getwd(),
template = c("Admin", "Background", "Code", "DataRaw", "DataProcessed",
"Dissemination", "Reports"),
ProjectName = "",
PI = "",
analyst = "",
datalocation = "",
gitlocation = ""
)
path |
Where should they be created? Default is the working directory. |
template |
Which subdirectories to create |
ProjectName |
Name of project, or "" for blank |
PI |
Name of PI and credentials, or "" for blank |
analyst |
Name of Analyst(s), or "" for blank |
datalocation |
Location of project on CIDA Drive, or "" for blank |
gitlocation |
Location project on GitHub |
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.
proj_setup() is the internal wrapper for this that gets called when using the RStudio GUI to create a project
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.