-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_project.R
29 lines (20 loc) · 943 Bytes
/
run_project.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#'# Load Package
library(rmarkdown)
#'# Datestamp
datestamp <- Sys.Date()
#+
#'# Data Set
#' To compile the full data set and generate a PDF report, copy all files provided in the Source ZIP Archive into an empty (!) folder and use the command below from within an R session:
rmarkdown::render(input = "CD-ICJ_Source_CorpusCreation.R",
output_file = paste0("CD-ICJ_",
datestamp,
"_CompilationReport.pdf"),
envir = new.env())
#+
#'# Codebook
#' To compile the Codebook, after you have run the Corpus Creation script, use the command below from within an R session:
rmarkdown::render(input = "CD-ICJ_Source_CodebookCreation.R",
output_file = paste0("CD-ICJ_",
datestamp,
"_Codebook.pdf"),
envir = new.env())