-
Notifications
You must be signed in to change notification settings - Fork 2
/
report01.Rnw
35 lines (35 loc) · 1.5 KB
/
report01.Rnw
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
30
31
32
33
34
35
%-------------------------------------------------------------------------------
% An example report
%
% Modify the (re-usable) title page layout and structure in global/frontmatter.Rnw
% Define the report-specific content in variables below.
% IMPORTANT set work dir to the location of this file, e.g.:
% setwd("~/projects/datawagovau/ckan-o-sweave/reports")
%-------------------------------------------------------------------------------
\input{global/header}
\begin{document}
\SweaveOpts{concordance=TRUE, echo=FALSE}
<<echo=FALSE>>=
source('scripts/ckan_secret.R')
source('scripts/ckan.R')
report_title_header <- "The awesomeness of CKANsomeness"
report_slug <- "example1"
report_period <- "2014-2015"
report_year <- "2015"
report_editor <- "John Doe, Jane Doette"
report_editor_reverse <- "Doe J, Doette J"
report_contributors <- paste0("John Johnson, Steven Stevenson")
report_contributors_reverse <- paste0("Johnson J, Stevenson S")
report_publisher <- "data.wa.gov.au"
report_publisher_address <- "17 Dick Perry Av, Kensington 6151 WA"
report_title <- "CKAN o' Sweave"
img <- ckan_res("7a19940b-6697-4fe8-a03e-60c99bb606a6")
@
\SweaveInput{global/frontmatter.Rnw}
%-------------------------------------------------------------------------------
% Chapters: create in chapters/
%-------------------------------------------------------------------------------
\SweaveInput{chapters/chapter01.Rnw}
\SweaveInput{global/backmatter.Rnw}
\end{document}
% EOF --------------------------------------------------------------------------