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,
path = "."
)
a directory where to download R scripts. default: "R/templates". For analysis_script will change to "analyses/templates" if the "analyses folder exists.
Logical. Overwite any existing templates? default: FALSE
Logical. Download a main script template to source all other R scripts?
Logical. Download template to convert a "messy" raw data file to a "tidy" raw data file? default = FALSE
Logical. Download template to perform data cleaning and scoring on a "tidy" raw data file? default = FALSE
Logical. Download template to merge multiple scored data files? default = FALSE
Logical. Download template to do data analysis (.Rmd)? default = FALSE
String. working directory file path. Ignore...