readReportJSON: Read JSON data into R object.

View source: R/taskFiles.R

readReportJSONR Documentation

Read JSON data into R object.

Description

Read JSON data into R object.

Usage

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

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.

Value

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


D4TAlink.light documentation built on April 4, 2025, 1:02 a.m.