Read JSON data into R object.
readReportJSON(task, type, ext = "json", subdir = NULL, dirCreate = FALSE)
the data read, or NULL
if the file does not exist.
Object of class D4TAlinkTask
, as created by initTask
.
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]
Filename extension.
(optional) Subdirectory.
Logical, if TRUE (by default) the directory is created.