View source: R/setup_analysis.R
setup_analysis | R Documentation |
Setup data analysis folder
setup_analysis(
name,
data.folder = TRUE,
data.folder.rawclean = TRUE,
visuals.folder = TRUE,
R.folder = TRUE,
add.date = TRUE,
add.folder = NULL,
add.rfiles = TRUE,
create.rproj = TRUE
)
name |
A string to indicate the name of the main folder. |
data.folder |
A logical statement to add data subfolder to the main folder. Default is |
data.folder.rawclean |
A logical statement to add raw and clean subfolder within the data subfolder. Default is |
visuals.folder |
A logical statement to add visuals subfolder to the main folder. Default is |
R.folder |
A logical statement to add R subfolder to the main subfolder. Default is |
add.date |
A logical statement to add the date to the main folder name. Format is Year-Month (numeric). Default is |
add.folder |
A string or vector list with the names of additional folders to be added to the main and subfolders. When creating a folder that will contain subfolder(s), make sure the main folder is listed before the subfolder(s). Default is |
add.rfiles |
A logical statement to add R files based on templates to the R folder. Default is |
create.rproj |
A logical statement to create a .Rproj file in the main folder. Default is |
A analysis folder and R syntax files to conduct data analysis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.