have_behavior_data: Function to check for existence of behavioral data. Assumes...

Description Usage

View source: R/utils.R

Description

Function to check for existence of behavioral data. Assumes that data is stored in a directory identified as <task>_<protocol>. This checks for a simple existence of the subject ID as a directory under <task>_<protocol> and then uses grep to check for the required files. This required at least one match to each file. This will return a dataframe of the subjects and whether or not they have complete behavioral data.

Usage

1
2
3
4
5
6
7
8
have_behavior_data(
  cfg,
  protocol,
  task,
  local_root = "",
  data_path = NA,
  my_required = NA
)

DecisionNeurosciencePsychopathology/DataTracker documentation built on Jan. 20, 2022, 4:51 p.m.