-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.qmd
108 lines (79 loc) · 5.39 KB
/
template.qmd
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
title: Open Justice Oklahoma Report Template
subtitle: A generic OJO template for HTML and PDF reports
format:
ojo-report-template-html: default
# Formatting options -----------------------------------------------------------
logo: "www/okpi-square-bw-text.png" # Other options are in the /www/ directory
number-sections: true
smooth-scroll: true
title-block-banner: "black" # The background color for the header banner
# Common values:
# - "#2f507f" is "OK Policy Blue"
title-block-banner-color: "white" # The text color for the header banner
fontcolor: "black" # Default text color for the body
linkcolor: "black" # Default link color for the body
toc: false # This should be 'false' if your end goal is a PDF
knitr:
opts_chunk:
fig.align: center # These are the default chunk options
echo: false
warning: false
# Remember that there are other formatting options in /_extensions/ojo-report-template/custom.scss
# You can also edit the header structure in /_extensions/ojo-report-template/title-block.html
# Document info ----------------------------------------------------------------
author: Analyst Name
date: last-modified
description: |
This is where you can write a brief description of the publication if needed.
If you don't need it for your current project, you can just delete this parameter.
abstract-title: "Executive Summary"
abstract: |
This is where we'd write an abstract / executive summary. You can change the title
for this section by changing the `abstract-title` parameter, and you can
delete the parameter if you don't need it.
---
```{r}
# To render to PDF after you've rendered your .html document:
# pagedown::chrome_print("./report.html", "./report.pdf", format = "pdf")
# We'll build this into the YAML header so you don't have to take this extra step
# once the {pagedown} people get around to adding quarto support.
```
## Introduction
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra turpis feugiat sem euismod interdum. Sed ultrices eget turpis ut malesuada. Donec vel nibh a arcu placerat sodales. Donec sagittis metus vitae placerat finibus. Curabitur a augue finibus nisl scelerisque molestie ac nec arcu. Vivamus lorem ligula, efficitur at scelerisque ac, bibendum a enim. Quisque non leo nibh. Sed non ante vel lacus ultricies fringilla. Maecenas ut massa tempor, ultrices lectus mollis, lobortis nisi. Donec dapibus magna nec suscipit vulputate. Sed placerat purus felis, eget egestas arcu ultricies eget.
This is a [link to some url](https://github.com/openjusticeok/ojo-report-template).
## Data
### Data source
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra turpis feugiat sem euismod interdum. Sed ultrices eget turpis ut malesuada. Donec vel nibh a arcu placerat sodales. Donec sagittis metus vitae placerat finibus. Curabitur a augue finibus nisl scelerisque molestie ac nec arcu. Vivamus lorem ligula, efficitur at scelerisque ac, bibendum a enim. Quisque non leo nibh. Sed non ante vel lacus ultricies fringilla. Maecenas ut massa tempor, ultrices lectus mollis, lobortis nisi. Donec dapibus magna nec suscipit vulputate. Sed placerat purus felis, eget egestas arcu ultricies eget. Curabitur leo ante, ultrices non elit vitae, sodales facilisis lacus. Nulla quis velit sollicitudin dolor laoreet porta. Mauris mauris orci, lacinia ac commodo non, vehicula nec metus. Integer imperdiet laoreet diam eu blandit.
### Data overview
Here's a sample plot:
```{r}
plot(rnorm(n = 1000, mean = 0, sd = 3))
```
Here's a table, too:
```{r}
# {gt} is our preferred table manager:
mtcars |>
head(5) |>
gt::gt()
# Knitr has some more basic options:
# mtcars |>
# head(8) |>
# knitr::kable()
```
<!-- This is how you insert a page break. -->
<!-- It will only appear in the PDF version; the html version will ignore it. -->
{{< pagebreak >}}
## Methods
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra turpis feugiat sem euismod interdum. Sed ultrices eget turpis ut malesuada. Donec vel nibh a arcu placerat sodales. Donec sagittis metus vitae placerat finibus. Curabitur a augue finibus nisl scelerisque molestie ac nec arcu. Vivamus lorem ligula, efficitur at scelerisque ac, bibendum a enim. Quisque non leo nibh. Sed non ante vel lacus ultricies fringilla. Maecenas ut massa tempor, ultrices lectus mollis, lobortis nisi. Donec dapibus magna nec suscipit vulputate. Sed placerat purus felis, eget egestas arcu ultricies eget. Curabitur leo ante, ultrices non elit vitae, sodales facilisis lacus. Nulla quis velit sollicitudin dolor laoreet porta. Mauris mauris orci, lacinia ac commodo non, vehicula nec metus. Integer imperdiet laoreet diam eu blandit.
- List item A
- List item B
- List item C
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra turpis feugiat sem euismod interdum. Sed ultrices eget turpis ut malesuada. Donec vel nibh a arcu placerat sodales. Donec sagittis metus vitae placerat finibus.
## Results
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum pharetra turpis feugiat sem euismod interdum. Sed ultrices eget turpis ut malesuada. Donec vel nibh a arcu placerat sodales. Donec sagittis metus vitae placerat finibus. Curabitur a augue finibus nisl scelerisque molestie ac nec arcu. Vivamus lorem ligula, efficitur at scelerisque ac, bibendum a enim. Quisque non leo nibh. Sed non ante vel lacus ultricies fringilla.
```{r}
for(i in 1:5){
print(i)
}
```