generated from datapages/datapage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.R
More file actions
19 lines (18 loc) · 1009 Bytes
/
info.R
File metadata and controls
19 lines (18 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# TODO: move upstream into processing workflow
task_info <- dplyr::tribble(
~task_code , ~task_label , ~task_category,
"hf" , "hearts & flowers" , "executive function",
"sds" , "same & different" , "executive function",
"mg" , "memory" , "executive function",
"math" , "math" , "math",
"matrix" , "pattern matching" , "reasoning",
"mrot" , "shape rotation" , "spatial cognition",
"trog" , "sentence understanding" , "language",
"vocab" , "vocabulary" , "language",
"tom" , "stories" , "social cognition",
"pa" , "language sounds" , "reading",
"sre" , "sentence reading" , "reading",
"swr" , "word reading" , "reading",
) |>
mutate(task_label = task_label |> stringr::str_to_title() |> forcats::fct_inorder(),
task_category = task_category |> stringr::str_to_title() |> forcats::fct_inorder())