Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:habittask:parse [2025/12/05 14:19] – removed - external edit (Unknown date) 127.0.0.1 | tools:habittask:parse [2025/12/05 14:22] (current) – [Data] will | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Habit Task Data Parsing ====== | ||
| + | [[: | ||
| + | Age (when available) is pulled from yet another location, '' | ||
| + | |||
| + | |||
| + | Task files of interest are '' | ||
| + | |||
| + | < | ||
| + | trial_file=/ | ||
| + | wc -l < $trial_file | ||
| + | # 80279 | ||
| + | |||
| + | head -n 3 $trial_file | ||
| + | id initials | ||
| + | 11885 | ||
| + | 11885 | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Data ===== | ||
| + | JSON files are exported from the browser at the end of the task. They' | ||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | ===== Scripts ===== | ||
| + | |||
| + | ==== Session information ==== | ||
| + | Age is pulled from redcap and qualtrics. Fallback db query fills for ages know via other studies. | ||
| + | ''/ | ||
| + | |||
| + | ==== Task data ==== | ||
| + | Extracting and coalescing data happens with MR scripts. See '' | ||
| + | < | ||
| + | cd / | ||
| + | make json2tsv | ||
| + | # runs eg. | ||
| + | # ./ | ||
| + | </ | ||
| + | |||
| + | ==== Unifying task conditions ==== | ||
| + | |||
| + | '' | ||
| + | |||
| + | These transformation and scoring scripts are | ||
| + | * on rhea as ''/ | ||
| + | * symlinked as ''/ | ||
| + | * tracked with task presentation code: https:// | ||
| + | |||
| + | ===== Automated ===== | ||
| + | |||
| + | Scripts from age extraction to final '' | ||
| + | |||
| + | < | ||
| + | crontab -l|grep habit -i # foranw | ||
| + | 30 2 * * * make -C / | ||
| + | 00 4 * * * make -C / | ||
| + | 00 5 * * * make -C / | ||
| + | |||
| + | </ | ||