get_merged_data: Function to grab data and merge it with master demo.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Function to grab data and merge it with master demo.

Usage

1
get_merged_data(cfg, protocol, task, other_fields = c())

Arguments

cfg

is the path to the lab's json configuration file. (Required)

protocol

is the project we want data from.

task

is the specific task we want data for.

other_fields

a vector of extra fields to get from Master Demo.

Value

The selected Master Demo data merged with task/protocol data.

Examples

1
get_merged_data(md=master_demo, task_data=bsocial_trust, protocol='bsocial')

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