Skip to contents

Process data for xSpreadsheet, this function turns the different structures allowed for data into the same format that is expected by the client side logic.

Usage

processInputData(data)

Arguments

data

The data to render inside the spreadsheet, the following options are valid:

  • NULL, this will result in an empty spreadsheet with a single sheet named "Sheet1"

  • A single data.frame object, this will result in a single sheet spreadsheet where the name of the first sheet is "Sheet1"

  • A named list where each list entry contains a data.frame object, a named sheet is generated in correspondence with the named list