-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsurvey.qmd
More file actions
47 lines (35 loc) · 1.04 KB
/
survey.qmd
File metadata and controls
47 lines (35 loc) · 1.04 KB
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
---
# The YAML header specifies several settings for the survey but is not required.
# A full list of settings can be found under _survey/settings.yml directory.
theme-settings:
theme: default
barposition: top
footer-left: "Made with [surveydown](https://surveydown.org)"
footer-right: '[<i class="bi bi-github"></i> Source Code](https://github.com/surveydown-dev/template_random_options)'
survey-settings:
show-previous: true
use-cookies: false
auto-scroll: false
rate-survey: false
system-language: en
highlight-unanswered: true
highlight-color: blue
capture-metadata: true
all-required: false
---
```{r}
library(surveydown)
```
--- welcome
# Template - Random Options
Here is a basic "multiple choice" question where the options are randomly sampled from 1 to 100. The random samples are generated in **real-time**. If you refresh the page, the options should change.
```{r}
sd_output("q1", type = "question")
```
--- page2
This is another page in your survey.
--- end
This it the last page in the survey
```{r}
sd_close()
```