Learn R Programming

viafoundry (version 1.0.0)

loadFile: Load or download a file from a process and file name

Description

Load or download a file from a process and file name

Usage

loadFile(json_data, processName, fileName, sep = "\t", download_dir = getwd())

Value

A data frame with the file contents if the file is tabular; otherwise, NULL after downloading the file.

Arguments

json_data

The `JSON` object containing the report data.

processName

The name of the process.

fileName

The name of the file to load or download.

sep

The separator for tabular files. Default is tab-separated.

download_dir

The directory where non-tabular files will be downloaded.