Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
move experimental quarto to new folder
Browse files Browse the repository at this point in the history
  • Loading branch information
NeubertJonas committed Jul 31, 2023
1 parent e4ccc50 commit fc780f9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions qualtrics/_quarto/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Displaying Data via Quarto

This is an experimental Quarto document, which pulls data from the questionnaires and creates a report with figures for each scale.
Mainly served as proof-of-concept and learning environment for working with Quarto.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,19 @@ The basis for this document was a template inspired by the Tufte handout style [
#| label: load-packages
#| include: false
source("relationship_metrics.R")
source("../relationship_metrics.R")
files = list.files("../_data/", pattern = "[[:alnum:]]+.csv$",
full.names = TRUE, recursive = TRUE)
sources = c(
baseline = files[grep("TrainingDay_Baseline", files, fixed = TRUE)],
follow_up = files[grep("Follow+up", files, fixed = TRUE)],
home = files[grep("At+home+questionnaire", files, fixed = TRUE)]
)
n = sort(unique(get_progress()$ID))
combination <- get_combination()
```

First, the raw data needs to be downloaded as csv files for three Qualtrics questionnaires: TrainingDay_Baseline, Follow-Up, and At Home Questionnaire. When downloading, make sure to select *numeric choice* rather than *choice text*. There is no need to rename the files, but they need to be placed in the *data* folder. At the time of writing (partial) data for the following participants is available: `r n`.
Expand Down
File renamed without changes.

0 comments on commit fc780f9

Please sign in to comment.