Learn R Programming

D4TAlink.light (version 2.1.18)

readReportJSON: Read JSON data into R object.

Description

Read JSON data into R object.

Usage

readReportJSON(task, type, ext = "json", subdir = NULL, dirCreate = FALSE)

Value

the data read, or NULL if the file does not exist.

Arguments

task

Object of class D4TAlinkTask, as created by initTask.

type

Filename type. If the type is an array, the cocatenation of the elements is used with separator"-". Filenames have the form [task name]_[type].[ext]

ext

Filename extension.

subdir

(optional) Subdirectory.

dirCreate

Logical, if TRUE (by default) the directory is created.