Skip to contents

This function provides the ColumnData S3 object for a specific control type and action.

Usage

get_control_file_columns(
  control_type,
  action,
  file_type = "na",
  config_yml = Sys.getenv("SDB_CONFIG"),
  controls_file = "controls.json"
)

Arguments

control_type

Type of the control for which the columns are needed.

action

Desired action.

file_type

The file type being used. Default is 'na'.

config_yml

(default: Sys.getenv("SDB_CONFIG")) Path to the application config file.

controls_file

(default: "controls.json") Path to the JSON file containing controls data.

Value

A ColumnData S3 object.