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

View source: R/reports.R

loadFileR Documentation

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())

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.

Value

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


viafoundry documentation built on April 4, 2025, 12:35 a.m.