This function will download template scripts for data analysis in R
get_template( to = "R/templates", overwrite = FALSE, main_script = FALSE, raw_script = FALSE, score_script = FALSE, merge_script = FALSE, analysis_script = FALSE, study_doc = FALSE, path = "." )
to | a directory where to download R scripts. default: "R/templates". For analysis_script will change to "analyses/templates" if the "analyses folder exists. |
---|---|
overwrite | Logical. Overwite any existing templates? default: FALSE |
main_script | Logical. Download a main script template to source all other R scripts? |
raw_script | Logical. Download template to convert a "messy" raw data file to a "tidy" raw data file? default = FALSE |
score_script | Logical. Download template to perform data cleaning and scoring on a "tidy" raw data file? default = FALSE |
merge_script | Logical. Download template to merge multiple scored data files? default = FALSE |
analysis_script | Logical. Download template to do data analysis (.Rmd)? default = FALSE |
study_doc | Logical. Download a study documentation template? default = FALSE |
path | String. working directory file path. Ignore... |