getMemoryGameFeatures: extracts memory game features from mPower game JSON data file

Description Usage Arguments Value Examples

View source: R/memoryModule.R

Description

extracts memory game features from mPower game JSON data file

Usage

1
getMemoryGameFeatures(game_json_file)

Arguments

game_json_file

path to game records json file

Value

data frame of memory game features

Examples

1
2
3
4
5
6
7
8
library(synapseClient)
synapseLogin()
memoryTable = synTableQuery("SELECT * FROM syn5713115")
memoryTable = memoryTable@values
sampleRow = rownames(memoryTable)[1]
sample_gameRecord_File <- synDownloadTableFile('syn5713115', sampleRow,
"MemoryGameResults.json.MemoryGameGameRecords")
getMemoryGameFeatures(sample_gameRecord_File)

Sage-Bionetworks/mpowertools documentation built on Feb. 14, 2020, 5:54 p.m.