get_md_data: Function to grab data from master demo and merge.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Function to grab data from master demo and merge.

Usage

1
get_md_data(md, task_data, protocol, other_fields = c())

Arguments

md

is a Master Demographic REDCapR object.

task_data

the dataframe returned from REDCapR data object request.

protocol

is the project we want data from.

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_md_data(md=master_demo, task_data=bsocial_trust, protocol='bsocial')

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