prepare: prepare Function

Description Usage Arguments Details Value See Also Examples

Description

Basic handling for PI raw datasets.

Usage

1
prepare(rawPack)

Arguments

rawPack

A PI object, included elements like Explicit, Sessions, Tasks, IAT and Demo which representing the original five datasets(required to process) and further addon variables(optional).

Details

This is one of the main function of GMDPP package. It will take the raw data object you get from the takeFive, transform them into formats that required by PI reseseach team(Insert link here). It will also return necessary variables that include information that you will find handy in later data cleaning.

Value

If it works correctly, there will be an objects return as original datasets and extra elements for reference. They are: $Explicit, $IAT, $Sessions, $Tasks and $Demo for actual datasets, and $participant_id $participatedNum $completedID $completedNum etc.

See Also

~/Requirements For files naming consistency and dataset cleaning requirements.

Examples

1
2
3
4
5
 ## Not run: 
		rawData <- takeFive('~/explicit.txt','~/iat.txt','~/sessions.txt','~/sessionTasks.txt','~/demographics.txt','mTurk')
     prepare(rawData)
   
## End(Not run)

Diheng/GMDPP documentation built on May 6, 2019, 2:13 p.m.